Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 2394343002: Removing ShouldSwapProcessesForRedirect (using DoesSiteRequireDedicatedProcess).
Patch Set: Rebasing... Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 bool MayReuseHost(content::RenderProcessHost* process_host) override; 114 bool MayReuseHost(content::RenderProcessHost* process_host) override;
115 bool ShouldTryToUseExistingProcessHost( 115 bool ShouldTryToUseExistingProcessHost(
116 content::BrowserContext* browser_context, 116 content::BrowserContext* browser_context,
117 const GURL& url) override; 117 const GURL& url) override;
118 void SiteInstanceGotProcess(content::SiteInstance* site_instance) override; 118 void SiteInstanceGotProcess(content::SiteInstance* site_instance) override;
119 void SiteInstanceDeleting(content::SiteInstance* site_instance) override; 119 void SiteInstanceDeleting(content::SiteInstance* site_instance) override;
120 bool ShouldSwapBrowsingInstancesForNavigation( 120 bool ShouldSwapBrowsingInstancesForNavigation(
121 content::SiteInstance* site_instance, 121 content::SiteInstance* site_instance,
122 const GURL& current_url, 122 const GURL& current_url,
123 const GURL& new_url) override; 123 const GURL& new_url) override;
124 bool ShouldSwapProcessesForRedirect(
125 content::BrowserContext* browser_context,
126 const GURL& current_url,
127 const GURL& new_url) override;
128 bool ShouldAssignSiteForURL(const GURL& url) override; 124 bool ShouldAssignSiteForURL(const GURL& url) override;
129 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, 125 void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
130 int child_process_id) override; 126 int child_process_id) override;
131 std::string GetApplicationLocale() override; 127 std::string GetApplicationLocale() override;
132 std::string GetAcceptLangs(content::BrowserContext* context) override; 128 std::string GetAcceptLangs(content::BrowserContext* context) override;
133 const gfx::ImageSkia* GetDefaultFavicon() override; 129 const gfx::ImageSkia* GetDefaultFavicon() override;
134 bool IsDataSaverEnabled(content::BrowserContext* context) override; 130 bool IsDataSaverEnabled(content::BrowserContext* context) override;
135 bool AllowAppCache(const GURL& manifest_url, 131 bool AllowAppCache(const GURL& manifest_url,
136 const GURL& first_party, 132 const GURL& first_party,
137 content::ResourceContext* context) override; 133 content::ResourceContext* context) override;
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 382 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
387 383
388 service_manager::BinderRegistry gpu_binder_registry_; 384 service_manager::BinderRegistry gpu_binder_registry_;
389 385
390 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 386 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
391 387
392 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 388 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
393 }; 389 };
394 390
395 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 391 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698