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

Side by Side Diff: content/common/android/common_jni_registrar.cc

Issue 254823005: Move android Telephony APIs to from content/ to net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NET_EXPORT the moved APIs. Created 6 years, 7 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 | « no previous file | content/common/android/device_telephony_info.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/common/android/common_jni_registrar.h" 5 #include "content/common/android/common_jni_registrar.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h" 8 #include "base/android/jni_registrar.h"
9 #include "content/common/android/device_telephony_info.h"
10 #include "content/common/android/hash_set.h" 9 #include "content/common/android/hash_set.h"
11 10
12 namespace { 11 namespace {
13 base::android::RegistrationMethod kContentRegisteredMethods[] = { 12 base::android::RegistrationMethod kContentRegisteredMethods[] = {
14 { "DeviceTelephonyInfo",
15 content::DeviceTelephonyInfo::RegisterDeviceTelephonyInfo },
16 { "HashSet", content::RegisterHashSet }, 13 { "HashSet", content::RegisterHashSet },
17 }; 14 };
18 15
19 } // namespace 16 } // namespace
20 17
21 namespace content { 18 namespace content {
22 namespace android { 19 namespace android {
23 20
24 bool RegisterCommonJni(JNIEnv* env) { 21 bool RegisterCommonJni(JNIEnv* env) {
25 return RegisterNativeMethods(env, kContentRegisteredMethods, 22 return RegisterNativeMethods(env, kContentRegisteredMethods,
26 arraysize(kContentRegisteredMethods)); 23 arraysize(kContentRegisteredMethods));
27 } 24 }
28 25
29 } // namespace android 26 } // namespace android
30 } // namespace content 27 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/common/android/device_telephony_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698