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

Unified Diff: remoting/base/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/rsa_key_pair.cc ('k') | remoting/base/url_request_context_getter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/url_request.h
diff --git a/remoting/base/url_request.h b/remoting/base/url_request.h
index bcb1b642ff74989f4fc2050d4e5f66bf5af2452e..704abece9bc9a6d6276ba2948eed2dc0bc593a91 100644
--- a/remoting/base/url_request.h
+++ b/remoting/base/url_request.h
@@ -5,10 +5,10 @@
#ifndef REMOTING_BASE_URL_REQUEST_H_
#define REMOTING_BASE_URL_REQUEST_H_
+#include <memory>
#include <string>
#include "base/callback_forward.h"
-#include "base/memory/scoped_ptr.h"
namespace remoting {
@@ -59,8 +59,9 @@ class UrlRequest {
class UrlRequestFactory {
public:
virtual ~UrlRequestFactory() {}
- virtual scoped_ptr<UrlRequest> CreateUrlRequest(UrlRequest::Type type,
- const std::string& url) = 0;
+ virtual std::unique_ptr<UrlRequest> CreateUrlRequest(
+ UrlRequest::Type type,
+ const std::string& url) = 0;
};
} // namespace remoting
« no previous file with comments | « remoting/base/rsa_key_pair.cc ('k') | remoting/base/url_request_context_getter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698