Chromium Code Reviews| 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..65357c2d86e5d24297f21eeb74e6f48e0f8e4f30 100644 |
| --- a/components/dom_distiller/android/component_jni_registrar.cc |
| +++ b/components/dom_distiller/android/component_jni_registrar.cc |
| @@ -2,11 +2,13 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#include "components/dom_distiller/android/component_jni_registrar.h" |
| - |
| #include "base/android/jni_android.h" |
| #include "base/android/jni_registrar.h" |
| #include "base/basictypes.h" |
| + |
| +#include "components/dom_distiller/android/component_jni_registrar.h" |
|
robliao
2014/06/27 17:37:12
This include was in the correct place before.
htt
sunangel
2014/06/27 18:00:08
Done.
|
| +#include "components/dom_distiller/core/dom_distiller_service_android.h" |
| +#include "components/dom_distiller/core/reader_mode_preferences_android.h" |
| #include "components/dom_distiller/core/url_utils_android.h" |
| namespace dom_distiller { |
| @@ -14,8 +16,13 @@ namespace dom_distiller { |
| namespace android { |
| static base::android::RegistrationMethod kDomDistillerRegisteredMethods[] = { |
| + {"DomDistillerService", DomDistillerServiceAndroid::Register}, |
| {"DomDistillerUrlUtils", |
| - dom_distiller::url_utils::android::RegisterUrlUtils}, }; |
| + dom_distiller::url_utils::android::RegisterUrlUtils}, |
| + {"ReaderModePreferencesAndroid", |
| + dom_distiller::reader_mode_preferences::android:: |
| + RegisterReaderModePrefsAndroid}, |
| +}; |
| bool RegisterDomDistiller(JNIEnv* env) { |
| return base::android::RegisterNativeMethods( |