OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SERVICE_ANDROID_H_ | |
6 #define COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SERVICE_ANDROID_H_ | |
7 | |
8 #include <jni.h> | |
9 #include "components/dom_distiller/core/dom_distiller_service.h" | |
10 | |
11 class DomDistillerServiceAndroid { | |
nyquist
2014/06/30 20:33:23
Put in namespaces dom_distiller and android
sunangel
2014/07/07 21:21:30
Done.
| |
12 public: | |
13 DomDistillerServiceAndroid(JNIEnv* env, | |
14 jobject obj, | |
15 dom_distiller::DomDistillerService* d); | |
16 static bool Register(JNIEnv* env); | |
17 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
| |
18 | |
19 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
| |
20 dom_distiller::DomDistillerService* service_; | |
21 }; | |
22 | |
23 #endif // COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SERVICE_ANDROID_H | |
OLD | NEW |