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

Unified Diff: components/sync_driver/about_sync_util_unittest.cc

Issue 1907683003: Convert //components/sync_driver from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build fix, address feedback 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
« no previous file with comments | « components/sync_driver/about_sync_util.cc ('k') | components/sync_driver/backend_data_type_configurer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/about_sync_util_unittest.cc
diff --git a/components/sync_driver/about_sync_util_unittest.cc b/components/sync_driver/about_sync_util_unittest.cc
index 60ba5f2af15f3db852a7642f17c421a2e27ccf24..e762903e68ab1c7eddc1490a3bdf49fad463b7ce 100644
--- a/components/sync_driver/about_sync_util_unittest.cc
+++ b/components/sync_driver/about_sync_util_unittest.cc
@@ -44,9 +44,8 @@ class SyncServiceMock : public sync_driver::FakeSyncService {
TEST(SyncUIUtilTestAbout, ConstructAboutInformationWithUnrecoverableErrorTest) {
SyncServiceMock service;
- scoped_ptr<base::DictionaryValue> strings(
- ConstructAboutInformation(&service, NULL,
- version_info::Channel::UNKNOWN));
+ std::unique_ptr<base::DictionaryValue> strings(ConstructAboutInformation(
+ &service, NULL, version_info::Channel::UNKNOWN));
EXPECT_TRUE(strings->HasKey("unrecoverable_error_detected"));
}
« no previous file with comments | « components/sync_driver/about_sync_util.cc ('k') | components/sync_driver/backend_data_type_configurer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698