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

Unified Diff: content/child/webblobregistry_impl.h

Issue 1851933002: Convert //url to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IWYU fixup 7 Created 4 years, 9 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/child/webblobregistry_impl.h
diff --git a/content/child/webblobregistry_impl.h b/content/child/webblobregistry_impl.h
index 7898202ed54ecb3fca6ea2f67be5ace3d785544b..3f590ad2cb937e1d3bdaff96665e6e22fcb638af 100644
--- a/content/child/webblobregistry_impl.h
+++ b/content/child/webblobregistry_impl.h
@@ -8,6 +8,7 @@
#include <stddef.h>
#include <stdint.h>
+#include <memory>
#include <string>
#include <vector>
@@ -91,7 +92,7 @@ class WebBlobRegistryImpl : public blink::WebBlobRegistry {
private:
const std::string uuid_;
const std::string content_type_;
- scoped_ptr<BlobConsolidation> consolidation_;
+ std::unique_ptr<BlobConsolidation> consolidation_;
scoped_refptr<ThreadSafeSender> sender_;
scoped_refptr<base::SingleThreadTaskRunner> io_runner_;
scoped_refptr<base::SingleThreadTaskRunner> main_runner_;
@@ -100,7 +101,7 @@ class WebBlobRegistryImpl : public blink::WebBlobRegistry {
// Method called on the IO thread.
static void StartBlobAsyncConstruction(
const std::string& uuid,
- scoped_ptr<BlobConsolidation> consolidation,
+ std::unique_ptr<BlobConsolidation> consolidation,
scoped_refptr<ThreadSafeSender> sender,
scoped_refptr<base::SingleThreadTaskRunner> main_runner);
« no previous file with comments | « content/child/service_worker/service_worker_provider_context.cc ('k') | content/child/webblobregistry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698