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

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

Issue 490603002: Chromecast: initial checkin of Android-based cast shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added android DEPS (git cl presubmit doesn't check Java DEPS?) Created 6 years, 3 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/cast_jni_registrar.h ('k') | chromecast/android/chromecast_config_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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chromecast/android/cast_jni_registrar.h"
6
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "chromecast/android/chromecast_config_android.h"
10 #include "chromecast/shell/browser/android/cast_window_android.h"
11 #include "chromecast/shell/browser/android/cast_window_manager.h"
12
13 namespace chromecast {
14 namespace android {
15
16 namespace {
17
18 static base::android::RegistrationMethod kMethods[] = {
19 { "CastWindowAndroid", shell::CastWindowAndroid::RegisterJni },
20 { "CastWindowManager", shell::RegisterCastWindowManager },
21 };
22
23 } // namespace
24
25 bool RegisterJni(JNIEnv* env) {
26 return RegisterNativeMethods(env, kMethods, arraysize(kMethods));
27 }
28
29 } // namespace android
30 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/android/cast_jni_registrar.h ('k') | chromecast/android/chromecast_config_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698