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

Unified Diff: chrome/browser/sync/chrome_sync_client_unittest.cc

Issue 1882243004: Convert //chrome/browser/sync from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « chrome/browser/sync/chrome_sync_client.cc ('k') | chrome/browser/sync/profile_sync_service_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/chrome_sync_client_unittest.cc
diff --git a/chrome/browser/sync/chrome_sync_client_unittest.cc b/chrome/browser/sync/chrome_sync_client_unittest.cc
index 41c34a68c95fcfa6e990a931704f2074ec97e21c..2c286aae7d4dc78db24443035943585874f579e5 100644
--- a/chrome/browser/sync/chrome_sync_client_unittest.cc
+++ b/chrome/browser/sync/chrome_sync_client_unittest.cc
@@ -4,7 +4,8 @@
#include "chrome/browser/sync/chrome_sync_client.h"
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "chrome/common/url_constants.h"
#include "components/sync_driver/sync_api_component_factory.h"
#include "components/sync_sessions/sync_sessions_client.h"
@@ -29,7 +30,7 @@ class ChromeSyncClientTest : public testing::Test {
private:
content::TestBrowserThreadBundle thread_bundle_;
- scoped_ptr<ChromeSyncClient> sync_client_;
+ std::unique_ptr<ChromeSyncClient> sync_client_;
};
TEST_F(ChromeSyncClientTest, ShouldSyncURL) {
« no previous file with comments | « chrome/browser/sync/chrome_sync_client.cc ('k') | chrome/browser/sync/profile_sync_service_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698