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

Unified Diff: chromecast/base/chromecast_config_android.h

Issue 1180633002: Chromecast: don't try to upload crash immediately. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase Created 5 years, 6 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_stub.cc ('k') | chromecast/base/chromecast_config_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/base/chromecast_config_android.h
diff --git a/chromecast/android/chromecast_config_android.h b/chromecast/base/chromecast_config_android.h
similarity index 84%
rename from chromecast/android/chromecast_config_android.h
rename to chromecast/base/chromecast_config_android.h
index e09d657acc92dffb186182e5cd03cedb192e255b..1d9082f51c25b8ef7d4a5df4e7233805694aff20 100644
--- a/chromecast/android/chromecast_config_android.h
+++ b/chromecast/base/chromecast_config_android.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROMECAST_ANDROID_CHROMECAST_CONFIG_ANDROID_H_
-#define CHROMECAST_ANDROID_CHROMECAST_CONFIG_ANDROID_H_
+#ifndef CHROMECAST_BASE_CHROMECAST_CONFIG_ANDROID_H_
+#define CHROMECAST_BASE_CHROMECAST_CONFIG_ANDROID_H_
#include <jni.h>
@@ -17,6 +17,7 @@ namespace android {
class ChromecastConfigAndroid {
public:
static ChromecastConfigAndroid* GetInstance();
+ static bool RegisterJni(JNIEnv* env);
// Returns whether or not the user has allowed sending usage stats and
// crash reports.
@@ -44,4 +45,4 @@ class ChromecastConfigAndroid {
} // namespace android
} // namespace chromecast
-#endif // CHROMECAST_ANDROID_CHROMECAST_CONFIG_ANDROID_H_
+#endif // CHROMECAST_BASE_CHROMECAST_CONFIG_ANDROID_H_
« no previous file with comments | « chromecast/android/chromecast_config_android_stub.cc ('k') | chromecast/base/chromecast_config_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698