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

Unified Diff: chromecast/android/chromecast_config_android_stub.cc

Issue 620673003: Chromecast: adds crash handling for Android build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address lei's comments Created 6 years, 2 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
« no previous file with comments | « chromecast/android/chromecast_config_android.h ('k') | chromecast/chromecast.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/android/chromecast_config_android_stub.cc
diff --git a/chromecast/android/platform_jni_loader_stub.cc b/chromecast/android/chromecast_config_android_stub.cc
similarity index 64%
copy from chromecast/android/platform_jni_loader_stub.cc
copy to chromecast/android/chromecast_config_android_stub.cc
index 0f8d814b0f99359a4fb21b9c350870b9fd971d3d..dc8bdca2d6afb3a9ff32eef56e9ef7f0c8b30963 100644
--- a/chromecast/android/platform_jni_loader_stub.cc
+++ b/chromecast/android/chromecast_config_android_stub.cc
@@ -2,14 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chromecast/android/platform_jni_loader.h"
+#include "chromecast/android/chromecast_config_android.h"
namespace chromecast {
namespace android {
-bool PlatformRegisterJni(JNIEnv* env) {
- // Intentional no-op for public build.
- return true;
+bool ChromecastConfigAndroid::CanSendUsageStats() {
+ return false;
}
} // namespace android
« no previous file with comments | « chromecast/android/chromecast_config_android.h ('k') | chromecast/chromecast.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698