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

Side by Side Diff: mojo/runner/android/android_handler.cc

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 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 unified diff | Download patch
« no previous file with comments | « mojo/runner/android/android_handler.h ('k') | mojo/runner/android/android_handler_loader.h » ('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 "mojo/runner/android/android_handler.h" 5 #include "mojo/runner/android/android_handler.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/android/context_utils.h" 10 #include "base/android/context_utils.h"
11 #include "base/android/jni_android.h" 11 #include "base/android/jni_android.h"
12 #include "base/android/jni_string.h" 12 #include "base/android/jni_string.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/scoped_native_library.h" 15 #include "base/scoped_native_library.h"
16 #include "jni/AndroidHandler_jni.h" 16 #include "jni/AndroidHandler_jni.h"
17 #include "mojo/application/public/cpp/application_impl.h"
18 #include "mojo/common/data_pipe_utils.h" 17 #include "mojo/common/data_pipe_utils.h"
19 #include "mojo/public/c/system/main.h" 18 #include "mojo/public/c/system/main.h"
20 #include "mojo/runner/android/run_android_application_function.h" 19 #include "mojo/runner/android/run_android_application_function.h"
21 #include "mojo/runner/host/native_application_support.h" 20 #include "mojo/runner/host/native_application_support.h"
21 #include "mojo/shell/public/cpp/application_impl.h"
22 #include "mojo/util/filename_util.h" 22 #include "mojo/util/filename_util.h"
23 #include "url/gurl.h" 23 #include "url/gurl.h"
24 24
25 using base::android::AttachCurrentThread; 25 using base::android::AttachCurrentThread;
26 using base::android::ScopedJavaLocalRef; 26 using base::android::ScopedJavaLocalRef;
27 using base::android::ConvertJavaStringToUTF8; 27 using base::android::ConvertJavaStringToUTF8;
28 using base::android::ConvertUTF8ToJavaString; 28 using base::android::ConvertUTF8ToJavaString;
29 using base::android::GetApplicationContext; 29 using base::android::GetApplicationContext;
30 30
31 namespace mojo { 31 namespace mojo {
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 connection->AddService(&content_handler_factory_); 175 connection->AddService(&content_handler_factory_);
176 return true; 176 return true;
177 } 177 }
178 178
179 bool RegisterAndroidHandlerJni(JNIEnv* env) { 179 bool RegisterAndroidHandlerJni(JNIEnv* env) {
180 return RegisterNativesImpl(env); 180 return RegisterNativesImpl(env);
181 } 181 }
182 182
183 } // namespace runner 183 } // namespace runner
184 } // namespace mojo 184 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/runner/android/android_handler.h ('k') | mojo/runner/android/android_handler_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698