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

Unified Diff: android_webview/native/aw_dev_tools_server.h

Issue 1852513003: Convert //android_webview to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git is hard 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
« no previous file with comments | « android_webview/native/aw_debug.h ('k') | android_webview/native/aw_dev_tools_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_dev_tools_server.h
diff --git a/android_webview/native/aw_dev_tools_server.h b/android_webview/native/aw_dev_tools_server.h
index 45bc61b2ad170d50bbc8d31c418f65d50db73245..eb0217d62e7ca22894781802952da72f5bba4631 100644
--- a/android_webview/native/aw_dev_tools_server.h
+++ b/android_webview/native/aw_dev_tools_server.h
@@ -6,10 +6,11 @@
#define ANDROID_WEBVIEW_NATIVE_AW_DEV_TOOLS_SERVER_H_
#include <jni.h>
+
+#include <memory>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace devtools_http_handler {
class DevToolsHttpHandler;
@@ -32,7 +33,8 @@ class AwDevToolsServer {
bool IsStarted() const;
private:
- scoped_ptr<devtools_http_handler::DevToolsHttpHandler> devtools_http_handler_;
+ std::unique_ptr<devtools_http_handler::DevToolsHttpHandler>
+ devtools_http_handler_;
DISALLOW_COPY_AND_ASSIGN(AwDevToolsServer);
};
« no previous file with comments | « android_webview/native/aw_debug.h ('k') | android_webview/native/aw_dev_tools_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698