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

Unified Diff: chrome/browser/media_gallery/media_galleries_preferences_factory.cc

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
Index: chrome/browser/media_gallery/media_galleries_preferences_factory.cc
diff --git a/chrome/browser/media_gallery/media_galleries_preferences_factory.cc b/chrome/browser/media_gallery/media_galleries_preferences_factory.cc
index 7cda9d8f7fd86b31bf718e11923445bf2f97b2d6..70e8659704902d8fdbe6b274e5cd4dd52cc3803b 100644
--- a/chrome/browser/media_gallery/media_galleries_preferences_factory.cc
+++ b/chrome/browser/media_gallery/media_galleries_preferences_factory.cc
@@ -8,9 +8,9 @@
#include "chrome/browser/profiles/profile_dependency_manager.h"
// static
-MediaGalleriesPreferences* MediaGalleriesPreferencesFactory::GetForProfile(
- Profile* profile) {
- return static_cast<MediaGalleriesPreferences*>(
+chrome::MediaGalleriesPreferences*
+MediaGalleriesPreferencesFactory::GetForProfile(Profile* profile) {
+ return static_cast<chrome::MediaGalleriesPreferences*>(
GetInstance()->GetServiceForProfile(profile, true));
}
@@ -28,11 +28,11 @@ MediaGalleriesPreferencesFactory::~MediaGalleriesPreferencesFactory() {}
ProfileKeyedService* MediaGalleriesPreferencesFactory::BuildServiceInstanceFor(
Profile* profile) const {
- return new MediaGalleriesPreferences(profile);
+ return new chrome::MediaGalleriesPreferences(profile);
}
void MediaGalleriesPreferencesFactory::RegisterUserPrefs(PrefService* prefs) {
- MediaGalleriesPreferences::RegisterUserPrefs(prefs);
+ chrome::MediaGalleriesPreferences::RegisterUserPrefs(prefs);
}
bool MediaGalleriesPreferencesFactory::ServiceRedirectedInIncognito() {

Powered by Google App Engine
This is Rietveld 408576698