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(); |
} |