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..40d0d2281a568a07e1bbfda99728fc0d5b62dbd9 |
--- /dev/null |
+++ b/components/dom_distiller/core/dom_distiller_service_android.h |
@@ -0,0 +1,24 @@ |
+// 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 { |
+ public: |
+ DomDistillerServiceAndroid(JNIEnv* env, |
+ jobject obj, |
+ dom_distiller::DomDistillerService* d); |
+ static bool Register(JNIEnv* env); |
+ jlong GetReaderModePrefsPointer(JNIEnv* env, jobject obj); |
+ |
+ private: |
+ dom_distiller::DomDistillerService* service_; |
+ |
robliao
2014/06/27 18:08:49
Remove linebreak here.
sunangel
2014/06/27 18:17:17
Done.
|
+}; |
+ |
+#endif // COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SERVICE_ANDROID_H |