Index: chrome/test/testing_profile.cc |
diff --git a/chrome/test/testing_profile.cc b/chrome/test/testing_profile.cc |
index 479cf70a03b35c24abe44e3f3fa3988e594fef02..bf226264569fa7c440d1a0a600fff29615df7cf0 100644 |
--- a/chrome/test/testing_profile.cc |
+++ b/chrome/test/testing_profile.cc |
@@ -562,6 +562,14 @@ URLRequestContextGetter* TestingProfile::GetRequestContext() { |
return request_context_.get(); |
} |
+URLRequestContextGetter* TestingProfile::GetRequestContextForPossibleApp( |
+ const Extension* installed_app) { |
+ if (installed_app != NULL && installed_app->is_storage_isolated()) |
+ return GetRequestContextForIsolatedApp(installed_app); |
+ |
+ return GetRequestContext(); |
+} |
+ |
void TestingProfile::CreateRequestContext() { |
if (!request_context_) |
request_context_ = new TestURLRequestContextGetter(); |
@@ -589,6 +597,13 @@ UserStyleSheetWatcher* TestingProfile::GetUserStyleSheetWatcher() { |
return NULL; |
} |
+URLRequestContextGetter* TestingProfile::GetRequestContextForIsolatedApp( |
+ const Extension* installed_app) { |
+ // We don't test isolated app storage here yet, so returning the same dummy |
+ // context is sufficient for now. |
+ return GetRequestContext(); |
+} |
+ |
FindBarState* TestingProfile::GetFindBarState() { |
if (!find_bar_state_.get()) |
find_bar_state_.reset(new FindBarState()); |