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

Unified Diff: remoting/base/chromium_url_request.h

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU 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
« no previous file with comments | « remoting/base/buffered_socket_writer_unittest.cc ('k') | remoting/base/chromium_url_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/chromium_url_request.h
diff --git a/remoting/base/chromium_url_request.h b/remoting/base/chromium_url_request.h
index 9cca077bbf9f266b31c07b0294447146965440a3..2593672a3ddc854203d68773312847a625b9f09f 100644
--- a/remoting/base/chromium_url_request.h
+++ b/remoting/base/chromium_url_request.h
@@ -36,7 +36,7 @@ class ChromiumUrlRequest : public UrlRequest, public net::URLFetcherDelegate {
// net::URLFetcherDelegate interface.
void OnURLFetchComplete(const net::URLFetcher* url_fetcher) override;
- scoped_ptr<net::URLFetcher> url_fetcher_;
+ std::unique_ptr<net::URLFetcher> url_fetcher_;
OnResultCallback on_result_callback_;
};
@@ -47,8 +47,8 @@ class ChromiumUrlRequestFactory : public UrlRequestFactory {
~ChromiumUrlRequestFactory() override;
// UrlRequestFactory interface.
- scoped_ptr<UrlRequest> CreateUrlRequest(UrlRequest::Type type,
- const std::string& url) override;
+ std::unique_ptr<UrlRequest> CreateUrlRequest(UrlRequest::Type type,
+ const std::string& url) override;
private:
scoped_refptr<net::URLRequestContextGetter> url_context_;
« no previous file with comments | « remoting/base/buffered_socket_writer_unittest.cc ('k') | remoting/base/chromium_url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698