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

Unified Diff: chrome/browser/chromeos/wm_ipc.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/wm_ipc.h
diff --git a/chrome/browser/chromeos/wm_ipc.h b/chrome/browser/chromeos/wm_ipc.h
index 92fef71704f4df03f8a4ed847b838dfd8e12a837..4437598fd7ef1aedc006b706219b4c2abe603d47 100644
--- a/chrome/browser/chromeos/wm_ipc.h
+++ b/chrome/browser/chromeos/wm_ipc.h
@@ -12,12 +12,15 @@
#include <vector>
#include "base/logging.h"
-#include "base/singleton.h"
#include "cros/chromeos_wm_ipc_enums.h"
typedef unsigned long Atom;
typedef unsigned long XID;
+namespace base {
+template <typename T> struct DefaultLazyInstanceTraits;
+}
+
namespace chromeos {
class WmIpc {
@@ -113,7 +116,7 @@ class WmIpc {
void SetLoggedInProperty(bool logged_in);
private:
- friend struct DefaultSingletonTraits<WmIpc>;
+ friend struct base::DefaultLazyInstanceTraits<WmIpc>;
WmIpc();

Powered by Google App Engine
This is Rietveld 408576698