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

Unified Diff: content/browser/ppapi_plugin_process_host.h

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/ppapi_plugin_process_host.h
diff --git a/content/browser/ppapi_plugin_process_host.h b/content/browser/ppapi_plugin_process_host.h
index 85e2b64de50b1cbd7c7dbe01fae62131daac2b14..7c649017633313b0fc7a6cb7667b3753eb38bb8e 100644
--- a/content/browser/ppapi_plugin_process_host.h
+++ b/content/browser/ppapi_plugin_process_host.h
@@ -7,13 +7,13 @@
#include <stdint.h>
+#include <memory>
#include <queue>
#include <vector>
#include "base/files/file_path.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/process/process.h"
#include "base/strings/string16.h"
#include "content/browser/renderer_host/pepper/browser_ppapi_host_impl.h"
@@ -154,10 +154,10 @@ class PpapiPluginProcessHost : public BrowserChildProcessHostDelegate,
scoped_refptr<PepperMessageFilter> filter_;
ppapi::PpapiPermissions permissions_;
- scoped_ptr<BrowserPpapiHostImpl> host_impl_;
+ std::unique_ptr<BrowserPpapiHostImpl> host_impl_;
// Observes network changes. May be NULL.
- scoped_ptr<PluginNetworkObserver> network_observer_;
+ std::unique_ptr<PluginNetworkObserver> network_observer_;
// Channel requests that we are waiting to send to the plugin process once
// the channel is opened.
@@ -175,7 +175,7 @@ class PpapiPluginProcessHost : public BrowserChildProcessHostDelegate,
const bool is_broker_;
- scoped_ptr<BrowserChildProcessHostImpl> process_;
+ std::unique_ptr<BrowserChildProcessHostImpl> process_;
DISALLOW_COPY_AND_ASSIGN(PpapiPluginProcessHost);
};
« no previous file with comments | « content/browser/power_usage_monitor_impl_unittest.cc ('k') | content/browser/presentation/presentation_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698