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

Side by Side Diff: chromecast/android/cast_jni_registrar.cc

Issue 2570623003: [Chromecast] Turn CastContentWindow into an abstract interface. (Closed)
Patch Set: Fix browser test Created 3 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 | « chromecast/android/DEPS ('k') | chromecast/android/cast_metrics_helper_android.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 "chromecast/android/cast_jni_registrar.h" 5 #include "chromecast/android/cast_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 "base/macros.h" 9 #include "base/macros.h"
10 #include "chromecast/android/cast_metrics_helper_android.h"
11 #include "chromecast/base/android/system_time_change_notifier_android.h" 10 #include "chromecast/base/android/system_time_change_notifier_android.h"
12 #include "chromecast/base/chromecast_config_android.h" 11 #include "chromecast/base/chromecast_config_android.h"
13 #include "chromecast/browser/android/cast_window_manager.h"
14 12
15 namespace chromecast { 13 namespace chromecast {
16 namespace android { 14 namespace android {
17 15
18 namespace { 16 namespace {
19 17
20 static base::android::RegistrationMethod kMethods[] = { 18 static base::android::RegistrationMethod kMethods[] = {
21 { "CastMetricsHelperAndroid", CastMetricsHelperAndroid::RegisterJni }, 19 {"ChromecastConfigAndroid", ChromecastConfigAndroid::RegisterJni},
22 { "CastWindowManager", shell::RegisterCastWindowManager }, 20 {"SystemTimeChangeNotifierAndroid",
23 { "ChromecastConfigAndroid", ChromecastConfigAndroid::RegisterJni }, 21 SystemTimeChangeNotifierAndroid::RegisterJni},
24 { "SystemTimeChangeNotifierAndroid",
25 SystemTimeChangeNotifierAndroid::RegisterJni },
26 }; 22 };
27 23
28 } // namespace 24 } // namespace
29 25
30 bool RegisterJni(JNIEnv* env) { 26 bool RegisterJni(JNIEnv* env) {
31 return RegisterNativeMethods(env, kMethods, arraysize(kMethods)); 27 return RegisterNativeMethods(env, kMethods, arraysize(kMethods));
32 } 28 }
33 29
34 } // namespace android 30 } // namespace android
35 } // namespace chromecast 31 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/android/DEPS ('k') | chromecast/android/cast_metrics_helper_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698