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

Unified Diff: components/variations/variations_associated_data.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/variations/variations_associated_data.cc
diff --git a/components/variations/variations_associated_data.cc b/components/variations/variations_associated_data.cc
index a26470438fb2cc3fd69acd89a336e9c5c33d750f..ef86a91c9fbf75fd5e44bba0639229071bcc83c5 100644
--- a/components/variations/variations_associated_data.cc
+++ b/components/variations/variations_associated_data.cc
@@ -22,7 +22,7 @@ class GroupMapAccessor {
// Retrieve the singleton.
static GroupMapAccessor* GetInstance() {
- return Singleton<GroupMapAccessor>::get();
+ return base::Singleton<GroupMapAccessor>::get();
}
// Note that this normally only sets the ID for a group the first time, unless
@@ -81,7 +81,7 @@ class GroupMapAccessor {
}
private:
- friend struct DefaultSingletonTraits<GroupMapAccessor>;
+ friend struct base::DefaultSingletonTraits<GroupMapAccessor>;
// Retrieves the GroupToIDMap for |key|.
GroupToIDMap* GetGroupToIDMap(IDCollectionKey key) {
@@ -108,7 +108,7 @@ class VariationsParamAssociator {
// Retrieve the singleton.
static VariationsParamAssociator* GetInstance() {
- return Singleton<VariationsParamAssociator>::get();
+ return base::Singleton<VariationsParamAssociator>::get();
}
bool AssociateVariationParams(const std::string& trial_name,
@@ -147,7 +147,7 @@ class VariationsParamAssociator {
}
private:
- friend struct DefaultSingletonTraits<VariationsParamAssociator>;
+ friend struct base::DefaultSingletonTraits<VariationsParamAssociator>;
VariationsParamAssociator() {}
~VariationsParamAssociator() {}
« no previous file with comments | « components/variations/net/variations_http_header_provider.cc ('k') | components/web_cache/browser/web_cache_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698