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

Unified Diff: components/autofill/core/browser/country_names.h

Issue 1859453002: components/autofill: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed Created 4 years, 8 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/country_names.h
diff --git a/components/autofill/core/browser/country_names.h b/components/autofill/core/browser/country_names.h
index c54f8f93a96c2d987cd3323fa67e816e0a63cbe6..ea36b6188960e921e37002cd08345783cf673358 100644
--- a/components/autofill/core/browser/country_names.h
+++ b/components/autofill/core/browser/country_names.h
@@ -6,11 +6,11 @@
#define COMPONENTS_AUTOFILL_CORE_BROWSER_COUNTRY_NAMES_H_
#include <map>
+#include <memory>
#include <string>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "third_party/icu/source/common/unicode/locid.h"
#include "third_party/icu/source/i18n/unicode/coll.h"
@@ -68,11 +68,11 @@ class CountryNames {
const icu::Locale locale_;
// Collator for the application locale.
- const scoped_ptr<icu::Collator> collator_;
+ const std::unique_ptr<icu::Collator> collator_;
// Collator for the "en_US" locale, if different from the application
// locale, null otherwise.
- const scoped_ptr<icu::Collator> default_collator_;
+ const std::unique_ptr<icu::Collator> default_collator_;
// Maps from common country names, including 2- and 3-letter country codes,
// to the corresponding 2-letter country codes. The keys are uppercase ASCII
« no previous file with comments | « components/autofill/core/browser/autofill_xml_parser_unittest.cc ('k') | components/autofill/core/browser/country_names.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698