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

Unified Diff: chrome/common/extensions/extension_permission_set.h

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 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/common/extensions/extension_permission_set.h
diff --git a/chrome/common/extensions/extension_permission_set.h b/chrome/common/extensions/extension_permission_set.h
index a0165e47e3e96d25fb4285c1831d6d11c0a66dae..02011a0a6f8443f15a861adafdf39a160f56b3c6 100644
--- a/chrome/common/extensions/extension_permission_set.h
+++ b/chrome/common/extensions/extension_permission_set.h
@@ -19,9 +19,12 @@
// TODO(jstritar): Move each class to its own file in extensions/permissions.
-class Extension;
class ExtensionPermissionsInfo;
+namespace extensions {
+class Extension;
+}
+
// When prompting the user to install or approve permissions, we display
// messages describing the effects of the permissions rather than listing the
// permissions themselves. Each ExtensionPermissionMessage represents one of the
@@ -290,7 +293,7 @@ class ExtensionPermissionSet
// the api and host permissions (|apis| and |hosts|). The effective hosts
// of the newly created permission set will be inferred from the |extension|
// manifest, |apis| and |hosts|.
- ExtensionPermissionSet(const Extension* extension,
+ ExtensionPermissionSet(const extensions::Extension* extension,
const ExtensionAPIPermissionSet& apis,
const URLPatternSet& explicit_hosts,
const ExtensionOAuth2Scopes& scopes);
@@ -411,7 +414,7 @@ class ExtensionPermissionSet
bool exclude_file_scheme);
// Initializes the set based on |extension|'s manifest data.
- void InitImplicitExtensionPermissions(const Extension* extension);
+ void InitImplicitExtensionPermissions(const extensions::Extension* extension);
// Initializes the effective host permission based on the data in this set.
void InitEffectiveHosts();
« no previous file with comments | « chrome/common/extensions/extension_messages.cc ('k') | chrome/common/extensions/extension_permission_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698