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

Unified Diff: chrome/browser/media_gallery/media_galleries_preferences.h

Issue 10824116: Store Media gallery permissions in extension prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments and rebase Created 8 years, 5 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
« no previous file with comments | « chrome/browser/extensions/extension_prefs_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media_gallery/media_galleries_preferences.h
diff --git a/chrome/browser/media_gallery/media_galleries_preferences.h b/chrome/browser/media_gallery/media_galleries_preferences.h
index 495501f9fd4705acfe49e4f963b5932ef4d1abef..076606ec792be90e2f2f6a065ee8929bbd53c501 100644
--- a/chrome/browser/media_gallery/media_galleries_preferences.h
+++ b/chrome/browser/media_gallery/media_galleries_preferences.h
@@ -13,12 +13,19 @@
#include "base/string16.h"
#include "chrome/browser/profiles/profile_keyed_service.h"
+class PrefService;
+class Profile;
+
namespace base {
class DictionaryValue;
}
-class PrefService;
-class Profile;
+typedef uint64 MediaGalleryPrefId;
+
+struct MediaGalleryPermission {
+ MediaGalleryPrefId pref_id;
+ bool has_permission;
+};
struct MediaGallery {
MediaGallery();
« no previous file with comments | « chrome/browser/extensions/extension_prefs_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698