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

Unified Diff: components/proxy_config/pref_proxy_config_tracker.h

Issue 1921923002: Convert //components/[o-t]* 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/proxy_config/pref_proxy_config_tracker.h
diff --git a/components/proxy_config/pref_proxy_config_tracker.h b/components/proxy_config/pref_proxy_config_tracker.h
index 0142f8da82bae4ece6693e1ab47b2506e2d9d025..d51abc8ae947b706875ba481b8fefd3331817a11 100644
--- a/components/proxy_config/pref_proxy_config_tracker.h
+++ b/components/proxy_config/pref_proxy_config_tracker.h
@@ -5,8 +5,9 @@
#ifndef COMPONENTS_PROXY_CONFIG_PREF_PROXY_CONFIG_TRACKER_H_
#define COMPONENTS_PROXY_CONFIG_PREF_PROXY_CONFIG_TRACKER_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/proxy_config/proxy_config_export.h"
namespace net {
@@ -29,8 +30,9 @@ class PROXY_CONFIG_EXPORT PrefProxyConfigTracker {
// |base_service|, which can be NULL. This |base_service| provides the proxy
// settings of the OS (except of ChromeOS). This must be called on the
// UI thread.
- virtual scoped_ptr<net::ProxyConfigService> CreateTrackingProxyConfigService(
- scoped_ptr<net::ProxyConfigService> base_service) = 0;
+ virtual std::unique_ptr<net::ProxyConfigService>
+ CreateTrackingProxyConfigService(
+ std::unique_ptr<net::ProxyConfigService> base_service) = 0;
// Releases the PrefService passed upon construction and the |base_service|
// passed to CreateTrackingProxyConfigService. This must be called on the UI
« no previous file with comments | « components/precache/core/precache_fetcher_unittest.cc ('k') | components/proxy_config/pref_proxy_config_tracker_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698