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

Unified Diff: chrome/browser/dom_distiller/dom_distiller_service_factory_android.h

Issue 1308363003: Revert of jni_generator: Make all object-returning natives return ScopedJavaLocalRef. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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: chrome/browser/dom_distiller/dom_distiller_service_factory_android.h
diff --git a/chrome/browser/dom_distiller/dom_distiller_service_factory_android.h b/chrome/browser/dom_distiller/dom_distiller_service_factory_android.h
index 86f0356df3b21066fe3595bf73874e0639087b72..a44584c4e880eb066a784222ad5ee31d1b9b9f4e 100644
--- a/chrome/browser/dom_distiller/dom_distiller_service_factory_android.h
+++ b/chrome/browser/dom_distiller/dom_distiller_service_factory_android.h
@@ -6,7 +6,6 @@
#define CHROME_BROWSER_DOM_DISTILLER_DOM_DISTILLER_SERVICE_FACTORY_ANDROID_H_
#include <jni.h>
-#include "base/android/scoped_java_ref.h"
namespace dom_distiller {
namespace android {
@@ -15,9 +14,7 @@
// DomDistillerServiceFactory.
class DomDistillerServiceFactoryAndroid {
public:
- static base::android::ScopedJavaLocalRef<jobject>
- GetForProfile(JNIEnv* env, jclass clazz, jobject j_profile);
-
+ static jobject GetForProfile(JNIEnv* env, jclass clazz, jobject j_profile);
static bool Register(JNIEnv* env);
};

Powered by Google App Engine
This is Rietveld 408576698