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

Unified Diff: mojo/shell/android/android_handler.h

Issue 1091513005: Separate mojo/shell into a runner and the application manager (shell) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 8 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
« no previous file with comments | « mojo/shell/PRESUBMIT.py ('k') | mojo/shell/android/android_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/android/android_handler.h
diff --git a/mojo/shell/android/android_handler.h b/mojo/shell/android/android_handler.h
deleted file mode 100644
index 868c263cdc58b0ec48f74defbc16b3bc84598b15..0000000000000000000000000000000000000000
--- a/mojo/shell/android/android_handler.h
+++ /dev/null
@@ -1,46 +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.
-
-#ifndef MOJO_SHELL_ANDROID_CONTENT_HANDLER_H_
-#define MOJO_SHELL_ANDROID_CONTENT_HANDLER_H_
-
-#include <jni.h>
-
-#include "mojo/application/content_handler_factory.h"
-#include "mojo/public/cpp/application/application_delegate.h"
-#include "mojo/public/cpp/application/interface_factory_impl.h"
-#include "third_party/mojo_services/src/content_handler/public/interfaces/content_handler.mojom.h"
-
-namespace base {
-class FilePath;
-}
-
-namespace mojo {
-namespace shell {
-
-class AndroidHandler : public ApplicationDelegate,
- public ContentHandlerFactory::Delegate {
- public:
- AndroidHandler();
- ~AndroidHandler();
-
- private:
- // ApplicationDelegate:
- void Initialize(ApplicationImpl* app) override;
- bool ConfigureIncomingConnection(ApplicationConnection* connection) override;
-
- // ContentHandlerFactory::Delegate:
- void RunApplication(InterfaceRequest<Application> application_request,
- URLResponsePtr response) override;
-
- ContentHandlerFactory content_handler_factory_;
- MOJO_DISALLOW_COPY_AND_ASSIGN(AndroidHandler);
-};
-
-bool RegisterAndroidHandlerJni(JNIEnv* env);
-
-} // namespace shell
-} // namespace mojo
-
-#endif // MOJO_SHELL_ANDROID_CONTENT_HANDLER_H_
« no previous file with comments | « mojo/shell/PRESUBMIT.py ('k') | mojo/shell/android/android_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698