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

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

Issue 2252963004: Remove dom_distiller core dependency on content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test deps Created 4 years, 4 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
deleted file mode 100644
index 77c8101887b2107d9b739bd29959afebf33c8efc..0000000000000000000000000000000000000000
--- a/components/dom_distiller/android/component_jni_registrar.cc
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// 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/macros.h"
-#include "components/dom_distiller/content/browser/distillable_page_utils_android.h"
-#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 {
-
-namespace android {
-
-static base::android::RegistrationMethod kDomDistillerRegisteredMethods[] = {
- {"DistilledPagePrefs", DistilledPagePrefsAndroid::Register},
- {"DomDistillerService", DomDistillerServiceAndroid::Register},
- {"DomDistillerUrlUtils",
- dom_distiller::url_utils::android::RegisterUrlUtils},
- {"DistillablePageUtils",
- dom_distiller::android::RegisterDistillablePageUtils},
-};
-
-bool RegisterDomDistiller(JNIEnv* env) {
- return base::android::RegisterNativeMethods(
- env,
- kDomDistillerRegisteredMethods,
- arraysize(kDomDistillerRegisteredMethods));
-}
-
-} // namespace android
-
-} // namespace dom_distiller

Powered by Google App Engine
This is Rietveld 408576698