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

Unified Diff: chrome/browser/prefs/incognito_mode_prefs.cc

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 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/prefs/incognito_mode_prefs.cc
diff --git a/chrome/browser/prefs/incognito_mode_prefs.cc b/chrome/browser/prefs/incognito_mode_prefs.cc
index f9d0fcd880efc0d3e795402a3783858cc1aeb8f2..e3d7499e7052e80ee94e519dae39bae31ad3a2fc 100644
--- a/chrome/browser/prefs/incognito_mode_prefs.cc
+++ b/chrome/browser/prefs/incognito_mode_prefs.cc
@@ -42,7 +42,7 @@ namespace {
class PlatformParentalControlsValue {
public:
static PlatformParentalControlsValue* GetInstance() {
- return Singleton<PlatformParentalControlsValue>::get();
+ return base::Singleton<PlatformParentalControlsValue>::get();
}
bool is_enabled() const {
@@ -50,7 +50,7 @@ class PlatformParentalControlsValue {
}
private:
- friend struct DefaultSingletonTraits<PlatformParentalControlsValue>;
+ friend struct base::DefaultSingletonTraits<PlatformParentalControlsValue>;
// Histogram enum for tracking the thread that checked parental controls.
enum class ThreadType {
« no previous file with comments | « chrome/browser/predictors/resource_prefetch_predictor_factory.cc ('k') | chrome/browser/prefs/pref_metrics_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698