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

Unified Diff: chrome/browser/upgrade_detector_impl.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
« no previous file with comments | « chrome/browser/undo/bookmark_undo_service_factory.cc ('k') | chrome/browser/upgrade_detector_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/upgrade_detector_impl.h
diff --git a/chrome/browser/upgrade_detector_impl.h b/chrome/browser/upgrade_detector_impl.h
index 848e1b151337e482468cdfaf6884509e08dbcf80..f5a5a1c21b3c3ffcc0fb9bfc3fbb033eb5b49550 100644
--- a/chrome/browser/upgrade_detector_impl.h
+++ b/chrome/browser/upgrade_detector_impl.h
@@ -11,7 +11,9 @@
#include "chrome/browser/upgrade_detector.h"
#include "components/variations/service/variations_service.h"
+namespace base {
template <typename T> struct DefaultSingletonTraits;
+}
class UpgradeDetectorImpl : public UpgradeDetector,
public variations::VariationsService::Observer {
@@ -37,7 +39,7 @@ class UpgradeDetectorImpl : public UpgradeDetector,
void NotifyOnUpgradeWithTimePassed(base::TimeDelta time_passed);
private:
- friend struct DefaultSingletonTraits<UpgradeDetectorImpl>;
+ friend struct base::DefaultSingletonTraits<UpgradeDetectorImpl>;
// Start the timer that will call |CheckForUpgrade()|.
void StartTimerForUpgradeCheck();
« no previous file with comments | « chrome/browser/undo/bookmark_undo_service_factory.cc ('k') | chrome/browser/upgrade_detector_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698