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

Unified Diff: chrome/browser/sync/test/integration/wifi_credentials_helper.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
Index: chrome/browser/sync/test/integration/wifi_credentials_helper.cc
diff --git a/chrome/browser/sync/test/integration/wifi_credentials_helper.cc b/chrome/browser/sync/test/integration/wifi_credentials_helper.cc
index c9146cb7187c742c65aed6a8c1143fa29706ef2e..3f5a11500102c6ebe42ff605033b6d49a1d36f73 100644
--- a/chrome/browser/sync/test/integration/wifi_credentials_helper.cc
+++ b/chrome/browser/sync/test/integration/wifi_credentials_helper.cc
@@ -129,9 +129,10 @@ bool AllProfilesMatch() {
return true;
}
-scoped_ptr<WifiCredential> MakeWifiCredential(const std::string& ssid,
- WifiSecurityClass security_class,
- const std::string& passphrase) {
+std::unique_ptr<WifiCredential> MakeWifiCredential(
+ const std::string& ssid,
+ WifiSecurityClass security_class,
+ const std::string& passphrase) {
return WifiCredential::Create(WifiCredential::MakeSsidBytesForTest(ssid),
security_class,
passphrase);

Powered by Google App Engine
This is Rietveld 408576698