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

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

Issue 23727009: Cleanup: Remove chrome namespace for storage monitor and media galleries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nit Created 7 years, 3 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_galleries/media_galleries_preferences_factory.cc
diff --git a/chrome/browser/media_galleries/media_galleries_preferences_factory.cc b/chrome/browser/media_galleries/media_galleries_preferences_factory.cc
index 03fefe2f6681856242d66b67a082c67023d7e4aa..05bbe95ad41d98b32059e0116dd58a552c8fe7c8 100644
--- a/chrome/browser/media_galleries/media_galleries_preferences_factory.cc
+++ b/chrome/browser/media_galleries/media_galleries_preferences_factory.cc
@@ -11,9 +11,9 @@
#include "components/user_prefs/pref_registry_syncable.h"
// static
-chrome::MediaGalleriesPreferences*
+MediaGalleriesPreferences*
MediaGalleriesPreferencesFactory::GetForProfile(Profile* profile) {
- return static_cast<chrome::MediaGalleriesPreferences*>(
+ return static_cast<MediaGalleriesPreferences*>(
GetInstance()->GetServiceForBrowserContext(profile, true));
}
@@ -33,12 +33,12 @@ MediaGalleriesPreferencesFactory::~MediaGalleriesPreferencesFactory() {}
BrowserContextKeyedService*
MediaGalleriesPreferencesFactory::BuildServiceInstanceFor(
content::BrowserContext* profile) const {
- return new chrome::MediaGalleriesPreferences(static_cast<Profile*>(profile));
+ return new MediaGalleriesPreferences(static_cast<Profile*>(profile));
}
void MediaGalleriesPreferencesFactory::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* prefs) {
- chrome::MediaGalleriesPreferences::RegisterProfilePrefs(prefs);
+ MediaGalleriesPreferences::RegisterProfilePrefs(prefs);
}
content::BrowserContext*

Powered by Google App Engine
This is Rietveld 408576698