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

Unified Diff: third_party/libaddressinput/chromium/input_suggester.h

Issue 1911823002: Convert //third_party from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update crashpad's README.chromium 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: third_party/libaddressinput/chromium/input_suggester.h
diff --git a/third_party/libaddressinput/chromium/input_suggester.h b/third_party/libaddressinput/chromium/input_suggester.h
index 9d5fbcd4fcd7bcd74925b9aab5894e82e0d063fb..0dca1a2c980b3923a8519ab431d2cc022233467e 100644
--- a/third_party/libaddressinput/chromium/input_suggester.h
+++ b/third_party/libaddressinput/chromium/input_suggester.h
@@ -9,10 +9,10 @@
#include <stdint.h>
#include <map>
+#include <memory>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "third_party/icu/source/i18n/unicode/coll.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_field.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_input_helper.h"
@@ -96,7 +96,7 @@ class InputSuggester {
int32_t buffer_size() const;
mutable std::vector<uint8_t> buffer_;
- scoped_ptr<icu::Collator> collator_;
+ std::unique_ptr<icu::Collator> collator_;
DISALLOW_COPY_AND_ASSIGN(StringCanonicalizer);
};
@@ -116,7 +116,7 @@ class InputSuggester {
::i18n::addressinput::AddressValidator validator_;
// The callback for |validator_| to invoke when validation finishes.
- const scoped_ptr<const ::i18n::addressinput::AddressValidator::Callback>
+ const std::unique_ptr<const ::i18n::addressinput::AddressValidator::Callback>
validated_;
// A mapping from a COUNTRY level region to a collection of all of its
« no previous file with comments | « third_party/libaddressinput/chromium/chrome_storage_impl.cc ('k') | third_party/libaddressinput/chromium/json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698