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

Unified Diff: components/dom_distiller/core/dom_distiller_service_android.h

Issue 340403004: Java wrapper for DistilledPagePrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DomDistillerService Java wrapper Created 6 years, 6 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: 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..fbf5b1b57cba0aa95d901e911cae58b0384b44f1
--- /dev/null
+++ b/components/dom_distiller/core/dom_distiller_service_android.h
@@ -0,0 +1,22 @@
+// 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 {
+ private:
+ dom_distiller::DomDistillerService* service_;
+
+ public:
+ DomDistillerServiceAndroid(JNIEnv* env,
robliao 2014/06/26 18:42:15 Section ordering - public, then protected, then pr
sunangel 2014/06/27 16:27:26 Done.
+ jobject obj,
+ dom_distiller::DomDistillerService* d);
+ static bool Register(JNIEnv* env);
+ jlong GetReaderModePrefsPointer(JNIEnv* env, jobject obj);
+};
+#endif // COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SERVICE_ANDROID_H
robliao 2014/06/26 18:42:15 One more linebreak above here.
sunangel 2014/06/26 23:31:36 Done.

Powered by Google App Engine
This is Rietveld 408576698