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

Unified Diff: base/android/java_handler_thread.h

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after r384946 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
« no previous file with comments | « base/android/application_status_listener_unittest.cc ('k') | base/android/record_histogram.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/java_handler_thread.h
diff --git a/base/android/java_handler_thread.h b/base/android/java_handler_thread.h
index 07715a87b9bb3dc98eebfa1cb44cc71bd5452c06..1709ff4fce8c72bc9619cb87130dd06ceea62949 100644
--- a/base/android/java_handler_thread.h
+++ b/base/android/java_handler_thread.h
@@ -7,8 +7,9 @@
#include <jni.h>
+#include <memory>
+
#include "base/android/scoped_java_ref.h"
-#include "base/memory/scoped_ptr.h"
namespace base {
@@ -43,7 +44,7 @@ class BASE_EXPORT JavaHandlerThread {
static bool RegisterBindings(JNIEnv* env);
private:
- scoped_ptr<base::MessageLoop> message_loop_;
+ std::unique_ptr<base::MessageLoop> message_loop_;
ScopedJavaGlobalRef<jobject> java_thread_;
};
« no previous file with comments | « base/android/application_status_listener_unittest.cc ('k') | base/android/record_histogram.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698