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

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: 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
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..aea65bb0a535260e8212046672de372be71edfe1 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;
Evan Stade 2012/07/31 20:29:47 nit: just 2 spaces of indent.
Evan Stade 2012/07/31 20:29:47 I think this would be more useful as a full-on Med
vandebo (ex-Chrome) 2012/08/01 01:01:10 This is used to return the permissions from the ex
+ bool has_permission;
+};
struct MediaGallery {
MediaGallery();

Powered by Google App Engine
This is Rietveld 408576698