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

Unified Diff: mandoline/app/android/mandoline_activity.cc

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 10 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: mandoline/app/android/mandoline_activity.cc
diff --git a/mandoline/app/android/mandoline_activity.cc b/mandoline/app/android/mandoline_activity.cc
deleted file mode 100644
index e76b4b9c8bb5f3fd29f4f071d78c6e9a6c44b134..0000000000000000000000000000000000000000
--- a/mandoline/app/android/mandoline_activity.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2015 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 "base/android/jni_string.h"
-#include "jni/MandolineActivity_jni.h"
-#include "mandoline/ui/desktop_ui/public/interfaces/launch_handler.mojom.h"
-#include "mojo/shell/connect_util.h"
-#include "mojo/shell/standalone/android/main.h"
-#include "mojo/shell/standalone/context.h"
-
-namespace mandoline {
-
-static void LaunchURL(JNIEnv* env,
- const JavaParamRef<jclass>& clazz,
- const JavaParamRef<jstring>& jurl) {
- LaunchHandlerPtr launch_handler;
- mojo::shell::ConnectToService(
- mojo::shell::GetContext()->application_manager(), GURL("mojo:phone_ui"),
- &launch_handler);
- launch_handler->LaunchURL(
- base::android::ConvertJavaStringToUTF8(env, jurl));
-}
-
-bool RegisterMandolineActivity(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
-} // namespace mandoline

Powered by Google App Engine
This is Rietveld 408576698