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

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

Issue 442503002: Retrieve article original URL from entryID (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
index bf68947c282c3b24c4b7a4762843b8bc18fa2a0a..b34e4497ebf8165f955cb5f9e8754430d1f2b5c1 100644
--- a/components/dom_distiller/core/dom_distiller_service_android.h
+++ b/components/dom_distiller/core/dom_distiller_service_android.h
@@ -25,6 +25,10 @@ class DomDistillerServiceAndroid {
// Returns native pointer to native DistilledPagePrefs registered with
// DomDistillerService.
jlong GetDistilledPagePrefsPtr(JNIEnv* env, jobject obj);
+ bool HasEntry(JNIEnv* env, jobject obj, jstring entry_id);
+ base::android::ScopedJavaLocalRef<jstring> GetUrlForEntry(JNIEnv* env,
+ jobject obj,
+ jstring entry_id);
private:
// Friend class so that DomDistillerServiceFactoryAndroid has access to

Powered by Google App Engine
This is Rietveld 408576698