| Index: chrome/test/testing_profile.cc
|
| diff --git a/chrome/test/testing_profile.cc b/chrome/test/testing_profile.cc
|
| index 3c37562e4a1c261afd91672cd38f8df4f88beacc..f77e31631454cb7f72f9322d5131dfc7ca5f26c1 100644
|
| --- a/chrome/test/testing_profile.cc
|
| +++ b/chrome/test/testing_profile.cc
|
| @@ -409,6 +409,14 @@ URLRequestContextGetter* TestingProfile::GetRequestContext() {
|
| return request_context_.get();
|
| }
|
|
|
| +URLRequestContextGetter* TestingProfile::GetRequestContext(
|
| + 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();
|
| @@ -424,6 +432,13 @@ URLRequestContextGetter* TestingProfile::GetRequestContextForExtensions() {
|
| return extensions_request_context_.get();
|
| }
|
|
|
| +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());
|
|
|