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

Unified Diff: components/autofill/core/browser/autofill_country.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/autofill/core/browser/autofill_country.cc
diff --git a/components/autofill/core/browser/autofill_country.cc b/components/autofill/core/browser/autofill_country.cc
index 32b2139683945dd4ae29003f455e202dec804707..9740eb450238eb59e99c99514a68525a7be9538b 100644
--- a/components/autofill/core/browser/autofill_country.cc
+++ b/components/autofill/core/browser/autofill_country.cc
@@ -792,7 +792,7 @@ class CountryDataMap {
private:
CountryDataMap();
- friend struct DefaultSingletonTraits<CountryDataMap>;
+ friend struct base::DefaultSingletonTraits<CountryDataMap>;
std::map<std::string, CountryData> country_data_;
@@ -801,7 +801,7 @@ class CountryDataMap {
// static
CountryDataMap* CountryDataMap::GetInstance() {
- return Singleton<CountryDataMap>::get();
+ return base::Singleton<CountryDataMap>::get();
}
CountryDataMap::CountryDataMap() {
@@ -855,7 +855,7 @@ class CountryNames {
private:
CountryNames();
~CountryNames();
- friend struct DefaultSingletonTraits<CountryNames>;
+ friend struct base::DefaultSingletonTraits<CountryNames>;
// Populates |locales_to_localized_names_| with the mapping of country names
// localized to |locale| to their corresponding country codes.
@@ -901,7 +901,7 @@ class CountryNames {
// static
CountryNames* CountryNames::GetInstance() {
- return Singleton<CountryNames>::get();
+ return base::Singleton<CountryNames>::get();
}
CountryNames::CountryNames() {
« no previous file with comments | « components/app_modal/javascript_dialog_manager.cc ('k') | components/autofill/core/common/autofill_regexes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698