File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -177,4 +177,14 @@ void ShellContentBrowserClient::OverrideWebkitPrefs(
177177 }
178178}
179179
180+ bool ShellContentBrowserClient::ShouldTryToUseExistingProcessHost (
181+ BrowserContext* browser_context, const GURL & url) {
182+ return true ;
183+ }
184+
185+ bool ShellContentBrowserClient::IsSuitableHost (RenderProcessHost* process_host,
186+ const GURL & site_url) {
187+ return true ;
188+ }
189+
180190} // namespace content
Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ class ShellContentBrowserClient : public ContentBrowserClient {
4343 virtual std::string GetDefaultDownloadName () OVERRIDE;
4444 virtual MediaObserver* GetMediaObserver () OVERRIDE;
4545 virtual void BrowserURLHandlerCreated (BrowserURLHandler* handler) OVERRIDE;
46+ virtual bool ShouldTryToUseExistingProcessHost (
47+ BrowserContext* browser_context, const GURL & url) OVERRIDE;
48+ virtual bool IsSuitableHost (RenderProcessHost* process_host,
49+ const GURL & site_url) OVERRIDE;
4650 ShellBrowserContext* browser_context ();
4751 ShellBrowserContext* off_the_record_browser_context ();
4852 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate () {
You can’t perform that action at this time.
0 commit comments