Index: components/dom_distiller/core/dom_distiller_service_android.h |
diff --git a/components/dom_distiller/core/dom_distiller_service_android.h b/components/dom_distiller/core/dom_distiller_service_android.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..03a7afed8f0354c8f8a4caa895bd13d68dda650d |
--- /dev/null |
+++ b/components/dom_distiller/core/dom_distiller_service_android.h |
@@ -0,0 +1,23 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SERVICE_ANDROID_H_ |
+#define COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SERVICE_ANDROID_H_ |
+ |
+#include <jni.h> |
+#include "components/dom_distiller/core/dom_distiller_service.h" |
+ |
+class DomDistillerServiceAndroid { |
nyquist
2014/06/30 20:33:23
Put in namespaces dom_distiller and android
sunangel
2014/07/07 21:21:30
Done.
|
+ public: |
+ DomDistillerServiceAndroid(JNIEnv* env, |
+ jobject obj, |
+ dom_distiller::DomDistillerService* d); |
+ static bool Register(JNIEnv* env); |
+ jlong GetReaderModePrefsPointer(JNIEnv* env, jobject obj); |
nyquist
2014/06/30 20:33:23
Private?
sunangel
2014/07/07 21:21:30
If I make it private, DomDistillerService seems to
|
+ |
+ private: |
nyquist
2014/06/30 20:33:23
Add a new method to access the Java object. This c
sunangel
2014/07/07 21:21:30
second part done..first part not done as per conve
|
+ dom_distiller::DomDistillerService* service_; |
+}; |
+ |
+#endif // COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SERVICE_ANDROID_H |