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

Unified Diff: chrome/browser/chromeos/cros_settings.h

Issue 5734002: Continuation of CL 5685007, rename the singleton accessor method in more files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 10 years 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/chromeos/cros_settings.h
diff --git a/chrome/browser/chromeos/cros_settings.h b/chrome/browser/chromeos/cros_settings.h
index 226ec08d0e38fde4a3f0509b053abb9f08089813..79428d2d54fdfb1dfc34f6e77dcceb0d4ce74f8c 100644
--- a/chrome/browser/chromeos/cros_settings.h
+++ b/chrome/browser/chromeos/cros_settings.h
@@ -16,6 +16,10 @@
#include "chrome/browser/chromeos/cros_settings_names.h"
#include "chrome/common/notification_observer.h"
+namespace base {
+template <typename T> struct DefaultLazyInstanceTraits;
+}
+
class Value;
namespace chromeos {
@@ -80,7 +84,7 @@ class CrosSettings : public NonThreadSafe {
CrosSettings();
~CrosSettings();
CrosSettingsProvider* GetProvider(const std::string& path) const;
- friend struct DefaultSingletonTraits<CrosSettings>;
+ friend struct base::DefaultLazyInstanceTraits<CrosSettings>;
DISALLOW_COPY_AND_ASSIGN(CrosSettings);
};

Powered by Google App Engine
This is Rietveld 408576698