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

Unified Diff: content/public/child/request_peer.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
Index: content/public/child/request_peer.h
diff --git a/content/public/child/request_peer.h b/content/public/child/request_peer.h
index cda0c71fc207c23e86c8dcbd0bf05f700c6cff1f..2b054b38d77b62773b0d7dc7c9d3abab32d14a3a 100644
--- a/content/public/child/request_peer.h
+++ b/content/public/child/request_peer.h
@@ -7,9 +7,9 @@
#include <stdint.h>
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "content/common/content_export.h"
class GURL;
@@ -82,7 +82,7 @@ class CONTENT_EXPORT RequestPeer {
// Called when a chunk of response data is available. This method may
// be called multiple times or not at all if an error occurs.
- virtual void OnReceivedData(scoped_ptr<ReceivedData> data) = 0;
+ virtual void OnReceivedData(std::unique_ptr<ReceivedData> data) = 0;
// Called when metadata generated by the renderer is retrieved from the
// cache. This method may be called zero or one times.
« no previous file with comments | « content/public/browser/web_contents_delegate.cc ('k') | content/public/child/resource_dispatcher_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698