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

Unified Diff: blimp/client/core/context/android/blimp_jni_registrar.cc

Issue 2624903006: Remove all blimp client code. (Closed)
Patch Set: Update buildbot configuration Created 3 years, 11 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: blimp/client/core/context/android/blimp_jni_registrar.cc
diff --git a/blimp/client/core/context/android/blimp_jni_registrar.cc b/blimp/client/core/context/android/blimp_jni_registrar.cc
deleted file mode 100644
index dc3d4db9324674453900859a236d006cd11aeff8..0000000000000000000000000000000000000000
--- a/blimp/client/core/context/android/blimp_jni_registrar.cc
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2016 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 "blimp/client/public/android/blimp_jni_registrar.h"
-
-#include "base/android/jni_registrar.h"
-#include "blimp/client/core/contents/android/blimp_contents_jni_registrar.h"
-#include "blimp/client/core/context/android/blimp_client_context_impl_android.h"
-#include "blimp/client/core/settings/android/blimp_settings_android.h"
-#include "blimp/client/core/settings/android/settings_android.h"
-#include "blimp/client/core/settings/android/settings_observer_proxy.h"
-
-namespace blimp {
-namespace client {
-namespace {
-
-base::android::RegistrationMethod kBlimpRegistrationMethods[] = {
- {"BlimpClientContextImplAndroid",
- BlimpClientContextImplAndroid::RegisterJni},
- {"BlimpContentsJni", RegisterBlimpContentsJni},
- {"BlimpSettingsAndroid", BlimpSettingsAndroid::RegisterJni},
- {"SettingsAndroid", SettingsAndroid::RegisterJni},
- {"SettingsObserverProxy", SettingsObserverProxy::RegisterJni},
-};
-
-} // namespace
-
-// This method is declared in
-// //blimp/client/public/android/blimp_jni_registrar.h, and either this function
-// or the one in //blimp/client/core/android/dummy_blimp_jni_registrar.cc
-// should be linked in to any binary blimp::client::RegisterBlimpJni.
-bool RegisterBlimpJni(JNIEnv* env) {
- return base::android::RegisterNativeMethods(
- env, kBlimpRegistrationMethods, arraysize(kBlimpRegistrationMethods));
-}
-
-} // namespace client
-} // namespace blimp

Powered by Google App Engine
This is Rietveld 408576698