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

Side by Side Diff: shell/android/android_handler.cc

Issue 1061313003: Introduce intent manager. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review 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 unified diff | Download patch
« no previous file with comments | « shell/android/android_handler.h ('k') | shell/android/apk/AndroidManifest.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "shell/android/android_handler.h" 5 #include "shell/android/android_handler.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_string.h" 8 #include "base/android/jni_string.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 application_request.PassMessagePipe().release().value(), 93 application_request.PassMessagePipe().release().value(),
94 reinterpret_cast<jlong>(run_android_application_fn)); 94 reinterpret_cast<jlong>(run_android_application_fn));
95 } 95 }
96 96
97 void AndroidHandler::Initialize(ApplicationImpl* app) { 97 void AndroidHandler::Initialize(ApplicationImpl* app) {
98 } 98 }
99 99
100 bool AndroidHandler::ConfigureIncomingConnection( 100 bool AndroidHandler::ConfigureIncomingConnection(
101 ApplicationConnection* connection) { 101 ApplicationConnection* connection) {
102 connection->AddService(&content_handler_factory_); 102 connection->AddService(&content_handler_factory_);
103 connection->AddService(&intent_receiver_manager_factory_);
103 return true; 104 return true;
104 } 105 }
105 106
106 bool RegisterAndroidHandlerJni(JNIEnv* env) { 107 bool RegisterAndroidHandlerJni(JNIEnv* env) {
107 return RegisterNativesImpl(env); 108 return RegisterNativesImpl(env);
108 } 109 }
109 110
110 } // namespace shell 111 } // namespace shell
111 } // namespace mojo 112 } // namespace mojo
OLDNEW
« no previous file with comments | « shell/android/android_handler.h ('k') | shell/android/apk/AndroidManifest.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698