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

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

Issue 2321543002: Merge CrossSiteResourceHandler and NavigationResourceThrottle (Closed)
Patch Set: Addressed nits Created 4 years, 2 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 bool ShouldTryToUseExistingProcessHost( 101 bool ShouldTryToUseExistingProcessHost(
102 content::BrowserContext* browser_context, 102 content::BrowserContext* browser_context,
103 const GURL& url) override; 103 const GURL& url) override;
104 void SiteInstanceGotProcess(content::SiteInstance* site_instance) override; 104 void SiteInstanceGotProcess(content::SiteInstance* site_instance) override;
105 void SiteInstanceDeleting(content::SiteInstance* site_instance) override; 105 void SiteInstanceDeleting(content::SiteInstance* site_instance) override;
106 bool ShouldSwapBrowsingInstancesForNavigation( 106 bool ShouldSwapBrowsingInstancesForNavigation(
107 content::SiteInstance* site_instance, 107 content::SiteInstance* site_instance,
108 const GURL& current_url, 108 const GURL& current_url,
109 const GURL& new_url) override; 109 const GURL& new_url) override;
110 bool ShouldSwapProcessesForRedirect( 110 bool ShouldSwapProcessesForRedirect(
111 content::ResourceContext* resource_context, 111 content::BrowserContext* browser_context,
112 const GURL& current_url, 112 const GURL& current_url,
113 const GURL& new_url) override; 113 const GURL& new_url) override;
114 bool ShouldAssignSiteForURL(const GURL& url) override; 114 bool ShouldAssignSiteForURL(const GURL& url) override;
115 std::string GetCanonicalEncodingNameByAliasName( 115 std::string GetCanonicalEncodingNameByAliasName(
116 const std::string& alias_name) override; 116 const std::string& alias_name) override;
117 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, 117 void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
118 int child_process_id) override; 118 int child_process_id) override;
119 std::string GetApplicationLocale() override; 119 std::string GetApplicationLocale() override;
120 std::string GetAcceptLangs(content::BrowserContext* context) override; 120 std::string GetAcceptLangs(content::BrowserContext* context) override;
121 const gfx::ImageSkia* GetDefaultFavicon() override; 121 const gfx::ImageSkia* GetDefaultFavicon() override;
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 // Vector of additional ChromeContentBrowserClientParts. 357 // Vector of additional ChromeContentBrowserClientParts.
358 // Parts are deleted in the reverse order they are added. 358 // Parts are deleted in the reverse order they are added.
359 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 359 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
360 360
361 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 361 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
362 362
363 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 363 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
364 }; 364 };
365 365
366 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 366 #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