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

Unified Diff: content/renderer/pepper/pepper_in_process_router.h

Issue 1873783003: Convert //content/renderer 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/renderer/pepper/pepper_in_process_router.h
diff --git a/content/renderer/pepper/pepper_in_process_router.h b/content/renderer/pepper/pepper_in_process_router.h
index 20e5b9a1adf7f0d87cb2473a886576a2e41d1c56..2a17b6f394521c65ead915f40e498ccbd3eff034 100644
--- a/content/renderer/pepper/pepper_in_process_router.h
+++ b/content/renderer/pepper/pepper_in_process_router.h
@@ -2,9 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <memory>
+
#include "base/callback.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/proxy/connection.h"
@@ -78,19 +79,19 @@ class PepperInProcessRouter {
RendererPpapiHostImpl* host_impl_;
class Channel;
- scoped_ptr<Channel> browser_channel_;
+ std::unique_ptr<Channel> browser_channel_;
// Renderer -> plugin channel.
- scoped_ptr<Channel> host_to_plugin_router_;
+ std::unique_ptr<Channel> host_to_plugin_router_;
// Plugin -> renderer channel.
- scoped_ptr<Channel> plugin_to_host_router_;
+ std::unique_ptr<Channel> plugin_to_host_router_;
// Pending sync message id.
int pending_message_id_;
// Reply deserializer of the pending sync message.
- scoped_ptr<IPC::MessageReplyDeserializer> reply_deserializer_;
+ std::unique_ptr<IPC::MessageReplyDeserializer> reply_deserializer_;
// Reply result of the pending sync message.
bool reply_result_;
« no previous file with comments | « content/renderer/pepper/pepper_in_process_resource_creation.h ('k') | content/renderer/pepper/pepper_in_process_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698