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

Unified Diff: chromecast/crash/android/crash_handler.h

Issue 1176003005: Chromecast: Android crash startup can't read path from /data/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: privileged flag --> process_type 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
Index: chromecast/crash/android/crash_handler.h
diff --git a/chromecast/crash/android/crash_handler.h b/chromecast/crash/android/crash_handler.h
index 853e7f50973e99e5b8be768374c802a8652f92f4..f78bcd00b7e446cb1fb00519da12fa8f42410097 100644
--- a/chromecast/crash/android/crash_handler.h
+++ b/chromecast/crash/android/crash_handler.h
@@ -39,10 +39,11 @@ class CrashHandler {
void UploadCrashDumps();
private:
- CrashHandler(const base::FilePath& log_file_path);
+ CrashHandler(const std::string& process_type,
+ const base::FilePath& log_file_path);
~CrashHandler();
- void Initialize(const std::string& process_type);
+ void Initialize();
// Starts a thread to periodically check for uploads
void InitializeUploader();
@@ -53,6 +54,8 @@ class CrashHandler {
// Location to which crash dumps should be written.
base::FilePath crash_dump_path_;
+ std::string process_type_;
+
scoped_ptr<CastCrashReporterClientAndroid> crash_reporter_client_;
scoped_ptr<google_breakpad::ExceptionHandler> crash_uploader_;
« no previous file with comments | « chromecast/crash/android/cast_crash_reporter_client_android.cc ('k') | chromecast/crash/android/crash_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698