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

Unified Diff: base/android/scoped_java_ref.h

Issue 1127983002: Add connectivity check for Android feedback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move test to new test package, and merge with upstream (conflict in chrome_jni_registrar.cc) Created 5 years, 7 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 | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/feedback/ConnectivityChecker.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/scoped_java_ref.h
diff --git a/base/android/scoped_java_ref.h b/base/android/scoped_java_ref.h
index 7863c0bef3a21fd908e0a836f8f03240cb591660..8047ee8c16725ab0470acc1b71dfb77f5594e439 100644
--- a/base/android/scoped_java_ref.h
+++ b/base/android/scoped_java_ref.h
@@ -178,6 +178,8 @@ class ScopedJavaGlobalRef : public JavaRef<T> {
this->Reset(other);
}
+ ScopedJavaGlobalRef(JNIEnv* env, T obj) { this->Reset(env, obj); }
+
template<typename U>
explicit ScopedJavaGlobalRef(const U& other) {
this->Reset(other);
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/feedback/ConnectivityChecker.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698