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

Unified Diff: components/dom_distiller/android/component_jni_registrar.cc

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/android/component_jni_registrar.cc
diff --git a/components/dom_distiller/android/component_jni_registrar.cc b/components/dom_distiller/android/component_jni_registrar.cc
index f631a2db2777aaa282598a47ba15214e80c94c2e..2414d98ace200219725216e52166f706f04b6fa4 100644
--- a/components/dom_distiller/android/component_jni_registrar.cc
+++ b/components/dom_distiller/android/component_jni_registrar.cc
@@ -8,6 +8,7 @@
#include "base/android/jni_registrar.h"
#include "base/basictypes.h"
#include "components/dom_distiller/core/distilled_page_prefs_android.h"
+#include "components/dom_distiller/core/distilled_page_prefs_observer_wrapper.h"
#include "components/dom_distiller/core/dom_distiller_service_android.h"
#include "components/dom_distiller/core/url_utils_android.h"
@@ -17,6 +18,8 @@ namespace android {
static base::android::RegistrationMethod kDomDistillerRegisteredMethods[] = {
{"DistilledPagePrefs", DistilledPagePrefsAndroid::Register},
+ {"DistilledPagePrefsObserverWrapper",
+ DistilledPagePrefsObserverWrapper::Register},
{"DomDistillerService", DomDistillerServiceAndroid::Register},
{"DomDistillerUrlUtils",
dom_distiller::url_utils::android::RegisterUrlUtils},

Powered by Google App Engine
This is Rietveld 408576698