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

Unified Diff: chromecast/android/chromecast_config_android_simple.cc

Issue 490603002: Chromecast: initial checkin of Android-based cast shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chromecast/android/chromecast_config_android_simple.cc
diff --git a/chromecast/android/chromecast_config_android_simple.cc b/chromecast/android/chromecast_config_android_simple.cc
new file mode 100644
index 0000000000000000000000000000000000000000..9301e444eb95022e44ff17cd2285f560eb8d2666
--- /dev/null
+++ b/chromecast/android/chromecast_config_android_simple.cc
@@ -0,0 +1,20 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chromecast/android/chromecast_config_android.h"
+
+namespace chromecast {
+namespace android {
+
+bool ChromecastConfigAndroid::RegisterJni(JNIEnv* env) {
Yaron 2014/08/20 18:11:01 So there will be a private/internal that does real
gunsch 2014/08/21 22:31:27 This stub in particular is silly, since I have a P
+ // Intentional no-op for public implementation.
+ return true;
+}
+
+bool ChromecastConfigAndroid::CanSendUsageStats() {
+ return false;
+}
+
+} // namespace android
+} // namespace chromecast

Powered by Google App Engine
This is Rietveld 408576698