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

Side by Side Diff: content/public/browser/content_browser_client.cc

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 | « content/public/browser/content_browser_client.h ('k') | no next file » | 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 #include "content/public/browser/content_browser_client.h" 5 #include "content/public/browser/content_browser_client.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
9 #include "ui/gfx/image/image_skia.h" 9 #include "ui/gfx/image/image_skia.h"
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 const GURL& site_url) { 77 const GURL& site_url) {
78 return true; 78 return true;
79 } 79 }
80 80
81 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost( 81 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost(
82 BrowserContext* browser_context, const GURL& url) { 82 BrowserContext* browser_context, const GURL& url) {
83 return false; 83 return false;
84 } 84 }
85 85
86 bool ContentBrowserClient::ShouldSwapProcessesForNavigation( 86 bool ContentBrowserClient::ShouldSwapProcessesForNavigation(
87 SiteInstance* site_instance,
87 const GURL& current_url, 88 const GURL& current_url,
88 const GURL& new_url) { 89 const GURL& new_url) {
89 return false; 90 return false;
90 } 91 }
91 92
92 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( 93 bool ContentBrowserClient::ShouldSwapProcessesForRedirect(
93 ResourceContext* resource_context, const GURL& current_url, 94 ResourceContext* resource_context, const GURL& current_url,
94 const GURL& new_url) { 95 const GURL& new_url) {
95 return false; 96 return false;
96 } 97 }
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 #endif 283 #endif
283 284
284 #if defined(USE_NSS) 285 #if defined(USE_NSS)
285 crypto::CryptoModuleBlockingPasswordDelegate* 286 crypto::CryptoModuleBlockingPasswordDelegate*
286 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 287 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
287 return NULL; 288 return NULL;
288 } 289 }
289 #endif 290 #endif
290 291
291 } // namespace content 292 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698