Index: chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_mac.cc |
diff --git a/chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_mac.cc b/chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_mac.cc |
index d997fd78ac5291783f01530859294dd9a2fe7bc4..15176cc73202e8cadb420938315621e217609255 100644 |
--- a/chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_mac.cc |
+++ b/chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_mac.cc |
@@ -7,10 +7,11 @@ |
#include <Security/Security.h> |
#include <stdint.h> |
+#include <memory> |
+ |
#include "base/base64.h" |
#include "base/bind.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "chrome/common/extensions/api/networking_private/networking_private_crypto.h" |
#include "components/wifi/wifi_service.h" |
#include "content/public/browser/browser_thread.h" |
@@ -46,7 +47,7 @@ void NetworkingPrivateCredentialsGetterMac::Start( |
const std::string& network_guid, |
const std::string& public_key, |
const CredentialsCallback& callback) { |
- scoped_ptr<wifi::WiFiService> wifi_service(wifi::WiFiService::Create()); |
+ std::unique_ptr<wifi::WiFiService> wifi_service(wifi::WiFiService::Create()); |
wifi_service->Initialize(NULL); |
std::string key_data; |
std::string error; |