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

Unified Diff: chrome/browser/ui/views/app_list/linux/app_list_service_linux.h

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/ui/views/app_list/linux/app_list_service_linux.h
diff --git a/chrome/browser/ui/views/app_list/linux/app_list_service_linux.h b/chrome/browser/ui/views/app_list/linux/app_list_service_linux.h
index ff639b7bdcb5c6e23440dd072a977909a5df5b1a..c279ccb29f50c2d715076783898e84fcac6c69f5 100644
--- a/chrome/browser/ui/views/app_list/linux/app_list_service_linux.h
+++ b/chrome/browser/ui/views/app_list/linux/app_list_service_linux.h
@@ -8,7 +8,9 @@
#include "chrome/browser/ui/app_list/app_list_service_views.h"
#include "ui/app_list/views/app_list_view_observer.h"
+namespace base {
template <typename T> struct DefaultSingletonTraits;
+}
// AppListServiceLinux manages global resources needed for the app list to
// operate, and controls when the app list is opened and closed.
@@ -26,7 +28,7 @@ class AppListServiceLinux : public AppListServiceViews,
void OnActivationChanged(views::Widget* widget, bool active) override;
private:
- friend struct DefaultSingletonTraits<AppListServiceLinux>;
+ friend struct base::DefaultSingletonTraits<AppListServiceLinux>;
// AppListShowerDelegate overrides:
void OnViewCreated() override;

Powered by Google App Engine
This is Rietveld 408576698