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

Unified Diff: chrome/browser/extensions/api/permissions/permissions_api_helpers.h

Issue 10675007: Move each permission classes to its own files in extensions/permissions (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase again Created 8 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/extensions/api/permissions/permissions_api_helpers.h
diff --git a/chrome/browser/extensions/api/permissions/permissions_api_helpers.h b/chrome/browser/extensions/api/permissions/permissions_api_helpers.h
index 158ca0445124a994f7576bc6e78c8ad377f35b29..65cc59106d6014acee76ac47c050e918e99bed4b 100644
--- a/chrome/browser/extensions/api/permissions/permissions_api_helpers.h
+++ b/chrome/browser/extensions/api/permissions/permissions_api_helpers.h
@@ -14,10 +14,12 @@ namespace base {
class DictionaryValue;
}
-class ExtensionPermissionSet;
+
namespace extensions {
+class PermissionSet;
+
namespace api {
namespace permissions {
struct Permissions;
@@ -28,11 +30,11 @@ namespace permissions_api_helpers {
// Converts the permission |set| to a permissions object.
scoped_ptr<api::permissions::Permissions> PackPermissionSet(
- const ExtensionPermissionSet* set);
+ const PermissionSet* set);
// Creates a permission set from |permissions|. Returns NULL if the permissions
// cannot be converted to a permission set, in which case |error| will be set.
-scoped_refptr<ExtensionPermissionSet> UnpackPermissionSet(
+scoped_refptr<PermissionSet> UnpackPermissionSet(
const api::permissions::Permissions& permissions, std::string* error);
} // namespace permissions_api_helpers

Powered by Google App Engine
This is Rietveld 408576698