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

Unified Diff: chrome/browser/profiles/off_the_record_profile_impl.cc

Issue 10697079: Upstreaming Cygprofile for Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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
Index: chrome/browser/profiles/off_the_record_profile_impl.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
index ace07a5bc83c0a08db044973749b295b571e7133..51700603bf4d2f714ad9e2494b58aa3fcdb42c63 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
@@ -262,6 +262,8 @@ net::URLRequestContextGetter* OffTheRecordProfileImpl::GetRequestContext() {
net::URLRequestContextGetter*
OffTheRecordProfileImpl::GetRequestContextForRenderProcess(
int renderer_child_id) {
+#if !defined(OS_ANDROID)
+ // Chrome for Android doesn't have extensions.
if (GetExtensionService()) {
const extensions::Extension* installed_app = GetExtensionService()->
GetInstalledAppForRenderer(renderer_child_id);
@@ -269,6 +271,7 @@ net::URLRequestContextGetter*
return GetRequestContextForIsolatedApp(installed_app->id());
}
}
+#endif
return GetRequestContext();
}

Powered by Google App Engine
This is Rietveld 408576698