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

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

Issue 403323005: Observer Support for DistilledPagePrefs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: formatting 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: components/dom_distiller/core/distilled_page_prefs_android.h
diff --git a/components/dom_distiller/core/distilled_page_prefs_android.h b/components/dom_distiller/core/distilled_page_prefs_android.h
index baf7398065f37a8c5039dd7b28ebf5b836d1cb4b..a5d723798d6b5843928b32b24c5ca6b16c7510d0 100644
--- a/components/dom_distiller/core/distilled_page_prefs_android.h
+++ b/components/dom_distiller/core/distilled_page_prefs_android.h
@@ -22,6 +22,8 @@ class DistilledPagePrefsAndroid {
static bool Register(JNIEnv* env);
void SetTheme(JNIEnv* env, jobject obj, jint theme);
jint GetTheme(JNIEnv* env, jobject obj);
+ void AddObserver(JNIEnv* env, jobject obj, jlong obs);
+ void RemoveObserver(JNIEnv* env, jobject obj, jlong obs);
private:
DistilledPagePrefs* distilled_page_prefs_;

Powered by Google App Engine
This is Rietveld 408576698