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

Side by Side Diff: chromecast/app/android/cast_crash_reporter_client_android.cc

Issue 2713843003: [Chromecast] Don't override RegisterCrashKeys() on Android. (Closed)
Patch Set: Remove RegisterCastCrashKeys() Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chromecast/app/android/cast_crash_reporter_client_android.h" 5 #include "chromecast/app/android/cast_crash_reporter_client_android.h"
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 *crash_dir = crash_dir_local; 62 *crash_dir = crash_dir_local;
63 return true; 63 return true;
64 } 64 }
65 65
66 bool CastCrashReporterClientAndroid::GetCrashDumpLocation( 66 bool CastCrashReporterClientAndroid::GetCrashDumpLocation(
67 base::FilePath* crash_dir) { 67 base::FilePath* crash_dir) {
68 return CastCrashReporterClientAndroid::GetCrashDumpLocation(process_type_, 68 return CastCrashReporterClientAndroid::GetCrashDumpLocation(process_type_,
69 crash_dir); 69 crash_dir);
70 } 70 }
71 71
72 size_t CastCrashReporterClientAndroid::RegisterCrashKeys() {
73 return crash_keys::RegisterCastCrashKeys();
74 }
75
76 bool CastCrashReporterClientAndroid::GetCollectStatsConsent() { 72 bool CastCrashReporterClientAndroid::GetCollectStatsConsent() {
77 return android::ChromecastConfigAndroid::GetInstance()->CanSendUsageStats(); 73 return android::ChromecastConfigAndroid::GetInstance()->CanSendUsageStats();
78 } 74 }
79 75
80 int CastCrashReporterClientAndroid::GetAndroidMinidumpDescriptor() { 76 int CastCrashReporterClientAndroid::GetAndroidMinidumpDescriptor() {
81 return kAndroidMinidumpDescriptor; 77 return kAndroidMinidumpDescriptor;
82 } 78 }
83 79
84 bool CastCrashReporterClientAndroid::EnableBreakpadForProcess( 80 bool CastCrashReporterClientAndroid::EnableBreakpadForProcess(
85 const std::string& process_type) { 81 const std::string& process_type) {
86 return process_type == switches::kRendererProcess || 82 return process_type == switches::kRendererProcess ||
87 process_type == switches::kGpuProcess; 83 process_type == switches::kGpuProcess;
88 } 84 }
89 85
90 } // namespace chromecast 86 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/app/android/cast_crash_reporter_client_android.h ('k') | chromecast/crash/cast_crash_keys.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698