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

Unified Diff: content/browser/shared_worker/shared_worker_host.cc

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/browser/shared_worker/shared_worker_host.cc
diff --git a/content/browser/shared_worker/shared_worker_host.cc b/content/browser/shared_worker/shared_worker_host.cc
index e98be02d575c1eeb4db9212141ded20facae235e..bf32f774623d85c03c7763110359e6bf34a16e2a 100644
--- a/content/browser/shared_worker/shared_worker_host.cc
+++ b/content/browser/shared_worker/shared_worker_host.cc
@@ -182,8 +182,9 @@ void SharedWorkerHost::WorkerConnected(int message_port_id) {
}
}
-void SharedWorkerHost::AllowFileSystem(const GURL& url,
- scoped_ptr<IPC::Message> reply_msg) {
+void SharedWorkerHost::AllowFileSystem(
+ const GURL& url,
+ std::unique_ptr<IPC::Message> reply_msg) {
if (!instance_)
return;
GetContentClient()->browser()->AllowWorkerFileSystem(
@@ -196,7 +197,7 @@ void SharedWorkerHost::AllowFileSystem(const GURL& url,
}
void SharedWorkerHost::AllowFileSystemResponse(
- scoped_ptr<IPC::Message> reply_msg,
+ std::unique_ptr<IPC::Message> reply_msg,
bool allowed) {
WorkerProcessHostMsg_RequestFileSystemAccessSync::WriteReplyParams(
reply_msg.get(),
« no previous file with comments | « content/browser/shared_worker/shared_worker_host.h ('k') | content/browser/shared_worker/shared_worker_instance_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698