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

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

Issue 12301013: Ensure extensions and the Chrome Web Store are loaded in new BrowsingInstances. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix review comments. Created 7 years, 10 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 | Annotate | Revision Log
« 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 chrome_devtools_protocol_handler) OVERRIDE; 96 chrome_devtools_protocol_handler) OVERRIDE;
97 virtual bool IsHandledURL(const GURL& url) OVERRIDE; 97 virtual bool IsHandledURL(const GURL& url) OVERRIDE;
98 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, 98 virtual bool IsSuitableHost(content::RenderProcessHost* process_host,
99 const GURL& url) OVERRIDE; 99 const GURL& url) OVERRIDE;
100 virtual bool ShouldTryToUseExistingProcessHost( 100 virtual bool ShouldTryToUseExistingProcessHost(
101 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; 101 content::BrowserContext* browser_context, const GURL& url) OVERRIDE;
102 virtual void SiteInstanceGotProcess( 102 virtual void SiteInstanceGotProcess(
103 content::SiteInstance* site_instance) OVERRIDE; 103 content::SiteInstance* site_instance) OVERRIDE;
104 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) 104 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance)
105 OVERRIDE; 105 OVERRIDE;
106 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, 106 virtual bool ShouldSwapProcessesForNavigation(
107 const GURL& new_url) OVERRIDE; 107 content::SiteInstance* site_instance,
108 const GURL& current_url,
109 const GURL& new_url) OVERRIDE;
108 virtual bool ShouldSwapProcessesForRedirect( 110 virtual bool ShouldSwapProcessesForRedirect(
109 content::ResourceContext* resource_context, 111 content::ResourceContext* resource_context,
110 const GURL& current_url, 112 const GURL& current_url,
111 const GURL& new_url) OVERRIDE; 113 const GURL& new_url) OVERRIDE;
112 virtual std::string GetCanonicalEncodingNameByAliasName( 114 virtual std::string GetCanonicalEncodingNameByAliasName(
113 const std::string& alias_name) OVERRIDE; 115 const std::string& alias_name) OVERRIDE;
114 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, 116 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
115 int child_process_id) OVERRIDE; 117 int child_process_id) OVERRIDE;
116 virtual std::string GetApplicationLocale() OVERRIDE; 118 virtual std::string GetApplicationLocale() OVERRIDE;
117 virtual std::string GetAcceptLangs( 119 virtual std::string GetAcceptLangs(
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 // Cached version of the locale so we can return the locale on the I/O 268 // Cached version of the locale so we can return the locale on the I/O
267 // thread. 269 // thread.
268 std::string io_thread_application_locale_; 270 std::string io_thread_application_locale_;
269 271
270 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 272 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
271 }; 273 };
272 274
273 } // namespace chrome 275 } // namespace chrome
274 276
275 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 277 #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