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 a19e4d46fa7c91a6c2e28162aeb28acb2e4c0e22..b61947201e931fa7320c7c05ccde42494f0652e5 100644 |
--- a/components/dom_distiller/android/component_jni_registrar.cc |
+++ b/components/dom_distiller/android/component_jni_registrar.cc |
@@ -7,6 +7,9 @@ |
#include "base/android/jni_android.h" |
#include "base/android/jni_registrar.h" |
#include "base/basictypes.h" |
+ |
nyquist
2014/07/08 01:02:33
remove empty line.
sunangel
2014/07/08 20:40:57
Done.
|
+#include "components/dom_distiller/core/distilled_page_prefs_android.h" |
+#include "components/dom_distiller/core/dom_distiller_service_android.h" |
#include "components/dom_distiller/core/url_utils_android.h" |
namespace dom_distiller { |
@@ -14,12 +17,14 @@ namespace dom_distiller { |
namespace android { |
static base::android::RegistrationMethod kDomDistillerRegisteredMethods[] = { |
+ {"DistilledPagePrefs", DistilledPagePrefsAndroid::Register}, |
+ {"DomDistillerService", DomDistillerServiceAndroid::Register}, |
{"DomDistillerUrlUtils", |
- dom_distiller::url_utils::android::RegisterUrlUtils}, }; |
+ dom_distiller::url_utils::android::RegisterUrlUtils}, |
+}; |
bool RegisterDomDistiller(JNIEnv* env) { |
- return base::android::RegisterNativeMethods( |
- env, |
+ return base::android::RegisterNativeMethods(env, |
nyquist
2014/07/08 01:02:33
Nit: I think |env| goes on the next line, but 'git
sunangel
2014/07/08 20:40:57
Done.
|
kDomDistillerRegisteredMethods, |
arraysize(kDomDistillerRegisteredMethods)); |
} |