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

Unified Diff: components/metrics/call_stack_profile_metrics_provider.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
Index: components/metrics/call_stack_profile_metrics_provider.cc
diff --git a/components/metrics/call_stack_profile_metrics_provider.cc b/components/metrics/call_stack_profile_metrics_provider.cc
index b4d6afe5719f70bffeb09293208a20dd970299c9..15840e9622919e8a454740d5942c0eb3535e8912 100644
--- a/components/metrics/call_stack_profile_metrics_provider.cc
+++ b/components/metrics/call_stack_profile_metrics_provider.cc
@@ -95,7 +95,7 @@ class PendingProfiles {
void ResetToDefaultStateForTesting();
private:
- friend struct DefaultSingletonTraits<PendingProfiles>;
+ friend struct base::DefaultSingletonTraits<PendingProfiles>;
PendingProfiles();
~PendingProfiles();
@@ -119,8 +119,8 @@ class PendingProfiles {
// static
PendingProfiles* PendingProfiles::GetInstance() {
// Leaky for performance rather than correctness reasons.
- return Singleton<PendingProfiles,
- LeakySingletonTraits<PendingProfiles>>::get();
+ return base::Singleton<PendingProfiles,
+ base::LeakySingletonTraits<PendingProfiles>>::get();
}
void PendingProfiles::Clear() {
« no previous file with comments | « components/keyed_service/ios/browser_state_dependency_manager.cc ('k') | components/nacl/browser/nacl_broker_service_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698