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

Unified Diff: chrome/service/net/service_url_request_context_getter.h

Issue 1899083002: Convert //chrome 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: chrome/service/net/service_url_request_context_getter.h
diff --git a/chrome/service/net/service_url_request_context_getter.h b/chrome/service/net/service_url_request_context_getter.h
index caf439c8834ac6aff453b886ca60c0e97846e8e9..c091ed3b610875469ce48c1f1a783383108e513a 100644
--- a/chrome/service/net/service_url_request_context_getter.h
+++ b/chrome/service/net/service_url_request_context_getter.h
@@ -5,9 +5,9 @@
#ifndef CHROME_SERVICE_NET_SERVICE_URL_REQUEST_CONTEXT_GETTER_H_
#define CHROME_SERVICE_NET_SERVICE_URL_REQUEST_CONTEXT_GETTER_H_
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "net/cookies/cookie_monster.h"
#include "net/disk_cache/disk_cache.h"
#include "net/dns/host_resolver.h"
@@ -48,8 +48,8 @@ class ServiceURLRequestContextGetter : public net::URLRequestContextGetter {
std::string user_agent_;
scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_;
- scoped_ptr<net::ProxyConfigService> proxy_config_service_;
- scoped_ptr<net::URLRequestContext> url_request_context_;
+ std::unique_ptr<net::ProxyConfigService> proxy_config_service_;
+ std::unique_ptr<net::URLRequestContext> url_request_context_;
};
#endif // CHROME_SERVICE_NET_SERVICE_URL_REQUEST_CONTEXT_GETTER_H_
« no previous file with comments | « chrome/service/cloud_print/printer_job_queue_handler_unittest.cc ('k') | chrome/service/service_ipc_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698