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

Unified Diff: ui/views/win/windows_session_change_observer.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
« no previous file with comments | « ui/views/widget/desktop_aura/x11_desktop_handler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/win/windows_session_change_observer.cc
diff --git a/ui/views/win/windows_session_change_observer.cc b/ui/views/win/windows_session_change_observer.cc
index c9db4599fe7ffe9bd3066ccf9be96c7598cb1ec0..777bf8c339a5d873a265b72f9e28c2d06edcf11e 100644
--- a/ui/views/win/windows_session_change_observer.cc
+++ b/ui/views/win/windows_session_change_observer.cc
@@ -25,7 +25,7 @@ namespace views {
class WindowsSessionChangeObserver::WtsRegistrationNotificationManager {
public:
static WtsRegistrationNotificationManager* GetInstance() {
- return Singleton<WtsRegistrationNotificationManager>::get();
+ return base::Singleton<WtsRegistrationNotificationManager>::get();
}
WtsRegistrationNotificationManager() {
@@ -46,7 +46,8 @@ class WindowsSessionChangeObserver::WtsRegistrationNotificationManager {
}
private:
- friend struct DefaultSingletonTraits<WtsRegistrationNotificationManager>;
+ friend struct base::DefaultSingletonTraits<
+ WtsRegistrationNotificationManager>;
void OnWndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) {
switch (message) {
« no previous file with comments | « ui/views/widget/desktop_aura/x11_desktop_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698