Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(593)

Unified Diff: chrome/browser/profiles/profile.cc

Issue 7003098: Start refractoring extension permissions into ExtensionPermissionSet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix a bad merge Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile.cc
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index 03f01130783c1a47a25112e4b05a2e8a5225a70f..d5527dddd3c973f9e5a431721f38e3d146055759 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -454,7 +454,8 @@ class OffTheRecordProfileImpl : public Profile,
const Extension* installed_app = GetExtensionService()->
GetInstalledAppForRenderer(renderer_child_id);
if (installed_app != NULL && installed_app->is_storage_isolated() &&
- installed_app->HasApiPermission(Extension::kExperimentalPermission)) {
+ installed_app->HasApiPermission(
+ ExtensionAPIPermission::Experimental())) {
return GetRequestContextForIsolatedApp(installed_app->id());
}
}

Powered by Google App Engine
This is Rietveld 408576698