OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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/browser/android/jni_registrar.h" |
| 6 |
| 7 #include "chromecast/browser/android/cast_content_window_android.h" |
| 8 #include "chromecast/browser/android/cast_metrics_helper_android.h" |
| 9 #include "chromecast/browser/android/cast_web_contents_activity.h" |
| 10 |
| 11 namespace chromecast { |
| 12 namespace shell { |
| 13 |
| 14 bool RegisterJni(JNIEnv* env) { |
| 15 if (!CastContentWindowAndroid::RegisterJni(env)) |
| 16 return false; |
| 17 if (!CastMetricsHelperAndroid::RegisterJni(env)) |
| 18 return false; |
| 19 if (!CastWebContentsActivity::RegisterJni(env)) |
| 20 return false; |
| 21 |
| 22 return true; |
| 23 } |
| 24 |
| 25 } // namespace shell |
| 26 } // namespace chromecast |
OLD | NEW |