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

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

Issue 340403004: Java wrapper for DistilledPagePrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: modified DEPS for test dependencies Created 6 years, 5 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
new file mode 100644
index 0000000000000000000000000000000000000000..a44584c4e880eb066a784222ad5ee31d1b9b9f4e
--- /dev/null
+++ b/chrome/browser/dom_distiller/dom_distiller_service_factory_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 CHROME_BROWSER_DOM_DISTILLER_DOM_DISTILLER_SERVICE_FACTORY_ANDROID_H_
+#define CHROME_BROWSER_DOM_DISTILLER_DOM_DISTILLER_SERVICE_FACTORY_ANDROID_H_
+
+#include <jni.h>
+
+namespace dom_distiller {
+namespace android {
+
+// This class should not be used except from the Java class
+// DomDistillerServiceFactory.
+class DomDistillerServiceFactoryAndroid {
+ public:
+ static jobject GetForProfile(JNIEnv* env, jclass clazz, jobject j_profile);
+ static bool Register(JNIEnv* env);
+};
+
+} // namespace android
+} // namespace dom_distiller
+
+#endif // CHROME_BROWSER_DOM_DISTILLER_DOM_DISTILLER_SERVICE_FACTORY_ANDROID_H_
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/dom_distiller/dom_distiller_service_factory_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698