| Index: chrome/test/testing_profile.cc
|
| diff --git a/chrome/test/testing_profile.cc b/chrome/test/testing_profile.cc
|
| index 1458d4a1d9fabd3b20b39762ffffa9dcf43af075..cd19065eb30aea49cedd2c4007c6279873e48412 100644
|
| --- a/chrome/test/testing_profile.cc
|
| +++ b/chrome/test/testing_profile.cc
|
| @@ -566,6 +566,14 @@ URLRequestContextGetter* TestingProfile::GetRequestContext() {
|
| return request_context_.get();
|
| }
|
|
|
| +URLRequestContextGetter* TestingProfile::GetRequestContextForPossibleApp(
|
| + const Extension* app) {
|
| + if (app != NULL && app->is_storage_isolated())
|
| + return GetRequestContextForIsolatedApp(app);
|
| +
|
| + return GetRequestContext();
|
| +}
|
| +
|
| void TestingProfile::CreateRequestContext() {
|
| if (!request_context_)
|
| request_context_ = new TestURLRequestContextGetter();
|
| @@ -593,6 +601,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());
|
|
|