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

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: Added removeObserver after test is done, styling 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..11734c1c388cdf7b40db5c03cda1850306e746e3 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 RemoveObserver(JNIEnv* env, jobject obj, jlong obs);
+ void AddObserver(JNIEnv* env, jobject obj, jlong obs);
robliao 2014/07/21 21:05:09 AddObserver was first in java land, so it should b
sunangel 2014/07/21 22:43:55 Done.
private:
DistilledPagePrefs* distilled_page_prefs_;

Powered by Google App Engine
This is Rietveld 408576698