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

Unified Diff: third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc

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/chrome_metadata_source_unittest.cc
diff --git a/third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc b/third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc
index ae92a76654b5c406ef94440aa156c7788fc40744..55d723bbc695dea3def87e3e3ca2a63a46255598 100644
--- a/third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc
+++ b/third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc
@@ -36,9 +36,9 @@ class ChromeMetadataSourceTest : public testing::Test {
new net::TestURLRequestContextGetter(
base::ThreadTaskRunnerHandle::Get()));
ChromeMetadataSource impl(std::string(), getter.get());
- scoped_ptr< ::i18n::addressinput::Source::Callback> callback(
+ std::unique_ptr<::i18n::addressinput::Source::Callback> callback(
::i18n::addressinput::BuildCallback(
- this, &ChromeMetadataSourceTest::OnDownloaded));
+ this, &ChromeMetadataSourceTest::OnDownloaded));
impl.Get(url_.spec(), *callback);
base::MessageLoop::current()->RunUntilIdle();
}
@@ -66,7 +66,7 @@ class ChromeMetadataSourceTest : public testing::Test {
net::URLFetcherImplFactory factory_;
net::FakeURLFetcherFactory fake_factory_;
GURL url_;
- scoped_ptr<std::string> data_;
+ std::unique_ptr<std::string> data_;
bool success_;
};

Powered by Google App Engine
This is Rietveld 408576698