Chromium Code Reviews| Index: components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerService.java |
| diff --git a/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerService.java b/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerService.java |
| index e5b5cb8cddcadbab29f70aa79122bcbc85cd08de..3260302719b01c910e79fff4c85f09195019f36a 100644 |
| --- a/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerService.java |
| +++ b/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerService.java |
| @@ -27,12 +27,22 @@ public final class DomDistillerService { |
| return mDistilledPagePrefs; |
| } |
| + public boolean hasEntry(String entryId) { |
| + return nativeHasEntry(mDomDistillerServiceAndroid, entryId); |
| + } |
| + |
| + public String getUrlForEntry(String entryId) { |
| + return nativeGetUrlForEntry(mDomDistillerServiceAndroid, entryId); |
| + } |
| + |
| @CalledByNative |
| private static DomDistillerService create(long nativeDomDistillerServiceAndroid) { |
| ThreadUtils.assertOnUiThread(); |
| return new DomDistillerService(nativeDomDistillerServiceAndroid); |
| } |
| - |
| + private native boolean nativeHasEntry(long nativeDomDistillerServiceAndroid, String entryId); |
|
robliao
2014/08/13 23:43:15
Linebreak above here.
sunangel
2014/08/13 23:47:15
Done.
|
| + private native String nativeGetUrlForEntry( |
| + long nativeDomDistillerServiceAndroid, String entryId); |
| private static native long nativeGetDistilledPagePrefsPtr( |
| long nativeDomDistillerServiceAndroid); |
| } |