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

Unified Diff: ios/crnet/crnet_environment.h

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add header 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: ios/crnet/crnet_environment.h
diff --git a/ios/crnet/crnet_environment.h b/ios/crnet/crnet_environment.h
index 5a698897a80cc84c8cfc970933586474ac02f256..ab033621569c07996a2ce3659be9b9d92d299b34 100644
--- a/ios/crnet/crnet_environment.h
+++ b/ios/crnet/crnet_environment.h
@@ -138,24 +138,25 @@ class CrNetEnvironment {
std::string sdch_pref_store_filename_;
static CrNetEnvironment* chrome_net_;
- scoped_ptr<base::Thread> network_io_thread_;
- scoped_ptr<base::Thread> network_cache_thread_;
- scoped_ptr<base::Thread> file_thread_;
- scoped_ptr<base::Thread> file_user_blocking_thread_;
- scoped_ptr<net::SdchManager> sdch_manager_;
- scoped_ptr<net::SdchOwner> sdch_owner_;
+ std::unique_ptr<base::Thread> network_io_thread_;
+ std::unique_ptr<base::Thread> network_cache_thread_;
+ std::unique_ptr<base::Thread> file_thread_;
+ std::unique_ptr<base::Thread> file_user_blocking_thread_;
+ std::unique_ptr<net::SdchManager> sdch_manager_;
+ std::unique_ptr<net::SdchOwner> sdch_owner_;
scoped_refptr<base::SequencedTaskRunner> pref_store_worker_pool_;
scoped_refptr<JsonPrefStore> net_pref_store_;
- scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_;
- scoped_ptr<net::ProxyConfigService> proxy_config_service_;
- scoped_ptr<net::HttpServerProperties> http_server_properties_;
- scoped_ptr<net::CookieStore> cookie_store_;
+ std::unique_ptr<net::NetworkChangeNotifier> network_change_notifier_;
+ std::unique_ptr<net::ProxyConfigService> proxy_config_service_;
+ std::unique_ptr<net::HttpServerProperties> http_server_properties_;
+ std::unique_ptr<net::CookieStore> cookie_store_;
scoped_refptr<net::URLRequestContextGetter> main_context_getter_;
- scoped_ptr<net::URLRequestContext> main_context_;
- scoped_ptr<CrNetHttpProtocolHandlerDelegate> http_protocol_handler_delegate_;
+ std::unique_ptr<net::URLRequestContext> main_context_;
+ std::unique_ptr<CrNetHttpProtocolHandlerDelegate>
+ http_protocol_handler_delegate_;
std::string user_agent_product_name_;
- scoped_ptr<net::NetLog> net_log_;
- scoped_ptr<net::WriteToFileNetLogObserver> net_log_observer_;
+ std::unique_ptr<net::NetLog> net_log_;
+ std::unique_ptr<net::WriteToFileNetLogObserver> net_log_observer_;
DISALLOW_COPY_AND_ASSIGN(CrNetEnvironment);
};

Powered by Google App Engine
This is Rietveld 408576698