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

Unified Diff: chrome/browser/extensions/extension_prefs.h

Issue 10821077: Add gallery permissions to Media Galleries Preferences (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests Created 8 years, 4 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 | « no previous file | chrome/browser/extensions/extension_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_prefs.h
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
index 803fe64efd3a878b5f89fb7dfc7fc14a4fbfe778..e2b742da0ae605df8a50284f182b7274d4a4e2ed 100644
--- a/chrome/browser/extensions/extension_prefs.h
+++ b/chrome/browser/extensions/extension_prefs.h
@@ -325,10 +325,13 @@ class ExtensionPrefs : public ContentSettingsStore::Observer,
// Set and retrieve permissions for media galleries as identified by the
// gallery id.
void SetMediaGalleryPermission(const std::string& extension_id,
- MediaGalleryPrefId gallery, bool has_access);
- std::vector<MediaGalleryPermission> GetMediaGalleryPermissions(
+ chrome::MediaGalleryPrefId gallery,
+ bool has_access);
+ void UnsetMediaGalleryPermission(const std::string& extension_id,
+ chrome::MediaGalleryPrefId gallery);
+ std::vector<chrome::MediaGalleryPermission> GetMediaGalleryPermissions(
const std::string& extension_id);
- void RemoveMediaGalleryPermissions(MediaGalleryPrefId gallery_id);
+ void RemoveMediaGalleryPermissions(chrome::MediaGalleryPrefId gallery_id);
// Saves ExtensionInfo for each installed extension with the path to the
// version directory and the location. Blacklisted extensions won't be saved
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698