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

Unified Diff: content/public/child/resource_dispatcher_delegate.h

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent 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 | « content/public/child/request_peer.h ('k') | content/public/common/media_stream_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/child/resource_dispatcher_delegate.h
diff --git a/content/public/child/resource_dispatcher_delegate.h b/content/public/child/resource_dispatcher_delegate.h
index e6ac4134386686eac72e3db55c4f8e91e8a77135..c8566f4fd57c5325a895c39055050a4a9de738cf 100644
--- a/content/public/child/resource_dispatcher_delegate.h
+++ b/content/public/child/resource_dispatcher_delegate.h
@@ -24,13 +24,13 @@ class CONTENT_EXPORT ResourceDispatcherDelegate {
public:
virtual ~ResourceDispatcherDelegate() {}
- virtual scoped_ptr<RequestPeer> OnRequestComplete(
- scoped_ptr<RequestPeer> current_peer,
+ virtual std::unique_ptr<RequestPeer> OnRequestComplete(
+ std::unique_ptr<RequestPeer> current_peer,
ResourceType resource_type,
int error_code) = 0;
- virtual scoped_ptr<RequestPeer> OnReceivedResponse(
- scoped_ptr<RequestPeer> current_peer,
+ virtual std::unique_ptr<RequestPeer> OnReceivedResponse(
+ std::unique_ptr<RequestPeer> current_peer,
const std::string& mime_type,
const GURL& url) = 0;
};
« no previous file with comments | « content/public/child/request_peer.h ('k') | content/public/common/media_stream_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698