| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index bc12846d363f45da8f093529c9eac0040bb26192..93f3ef93184a8fb35e403834794adece4cf32a3b 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -80,6 +80,7 @@
|
| #include "chrome/common/chrome_paths.h"
|
| #include "chrome/common/chrome_paths_internal.h"
|
| #include "chrome/common/chrome_switches.h"
|
| +#include "chrome/common/extensions/extension_permission_set.h"
|
| #include "chrome/common/json_pref_store.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/render_messages.h"
|
| @@ -875,7 +876,8 @@ net::URLRequestContextGetter* ProfileImpl::GetRequestContextForRenderProcess(
|
| const Extension* installed_app = extension_service_->
|
| GetInstalledAppForRenderer(renderer_child_id);
|
| if (installed_app != NULL && installed_app->is_storage_isolated() &&
|
| - installed_app->HasApiPermission(Extension::kExperimentalPermission)) {
|
| + installed_app->HasApiPermission(
|
| + ExtensionAPIPermission::kExperimental)) {
|
| return GetRequestContextForIsolatedApp(installed_app->id());
|
| }
|
| }
|
|
|