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

Unified Diff: chrome/browser/sync/test/integration/wifi_credentials_helper.h

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.h
diff --git a/chrome/browser/sync/test/integration/wifi_credentials_helper.h b/chrome/browser/sync/test/integration/wifi_credentials_helper.h
index 6d811493c986862f0d1fc6ac3a4b57a0e8cc060a..8ff7d1dcacefac145a319a8440c1f087b474bc44 100644
--- a/chrome/browser/sync/test/integration/wifi_credentials_helper.h
+++ b/chrome/browser/sync/test/integration/wifi_credentials_helper.h
@@ -5,9 +5,9 @@
#ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_WIFI_CREDENTIALS_HELPER_H_
#define CHROME_BROWSER_SYNC_TEST_INTEGRATION_WIFI_CREDENTIALS_HELPER_H_
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "components/wifi_sync/wifi_credential.h"
#include "components/wifi_sync/wifi_security_class.h"
@@ -39,7 +39,7 @@ bool ProfileMatchesVerifier(int profile_index);
bool AllProfilesMatch();
// Returns a new WifiCredential constructed from the given parameters.
-scoped_ptr<wifi_sync::WifiCredential> MakeWifiCredential(
+std::unique_ptr<wifi_sync::WifiCredential> MakeWifiCredential(
const std::string& ssid,
wifi_sync::WifiSecurityClass security_class,
const std::string& passphrase);

Powered by Google App Engine
This is Rietveld 408576698