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

Unified Diff: chrome/browser/extensions/extension_protocols.cc

Issue 6697012: Remove 'off the record' references from ChromeURLContext. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removed 'off the record' references from ChromeURLRequestContext. Created 9 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/net/chrome_url_request_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_protocols.cc
diff --git a/chrome/browser/extensions/extension_protocols.cc b/chrome/browser/extensions/extension_protocols.cc
index 16df524853a9c882c6203fde2af990ae461889f3..4489ef1be09c2d2fe31d13ebc163b25b27e84149 100644
--- a/chrome/browser/extensions/extension_protocols.cc
+++ b/chrome/browser/extensions/extension_protocols.cc
@@ -86,7 +86,7 @@ bool AllowExtensionResourceLoad(net::URLRequest* request,
// Don't allow toplevel navigations to extension resources in incognito mode.
// This is because an extension must run in a single process, and an
// incognito tab prevents that.
- if (context->is_off_the_record() &&
+ if (context->is_incognito() &&
info->resource_type() == ResourceType::MAIN_FRAME &&
!context->extension_info_map()->
ExtensionCanLoadInIncognito(request->url().host())) {
« no previous file with comments | « no previous file | chrome/browser/net/chrome_url_request_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698