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

Unified Diff: components/wifi_sync/wifi_credential_syncable_service_factory.h

Issue 1917673002: Convert //components/[u-z]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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: components/wifi_sync/wifi_credential_syncable_service_factory.h
diff --git a/components/wifi_sync/wifi_credential_syncable_service_factory.h b/components/wifi_sync/wifi_credential_syncable_service_factory.h
index 88ece2a352c58edc7a5dcd77866bf5857353b150..38367b24592f5549602c77cbaa80e771c325d2f8 100644
--- a/components/wifi_sync/wifi_credential_syncable_service_factory.h
+++ b/components/wifi_sync/wifi_credential_syncable_service_factory.h
@@ -5,8 +5,9 @@
#ifndef COMPONENTS_WIFI_SYNC_WIFI_CREDENTIAL_SYNCABLE_SERVICE_FACTORY_H_
#define COMPONENTS_WIFI_SYNC_WIFI_CREDENTIAL_SYNCABLE_SERVICE_FACTORY_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/singleton.h"
#include "build/build_config.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
@@ -56,7 +57,7 @@ class WifiCredentialSyncableServiceFactory
// Returns a scoped pointer to a WifiConfigDelegate, which can be
// used to configure the ChromeOS Wi-Fi settings associated with
// |context|.
- scoped_ptr<WifiConfigDelegate> BuildWifiConfigDelegateChromeOs(
+ std::unique_ptr<WifiConfigDelegate> BuildWifiConfigDelegateChromeOs(
content::BrowserContext* context) const;
#endif

Powered by Google App Engine
This is Rietveld 408576698