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 |