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

Side by Side Diff: components/crash/app/crash_reporter_client.cc

Issue 633833002: Breakpad Linux: Do not use std::string in a compromised context. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix content shell too 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "components/crash/app/crash_reporter_client.h" 5 #include "components/crash/app/crash_reporter_client.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 9
10 namespace crash_reporter { 10 namespace crash_reporter {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 } 72 }
73 73
74 void CrashReporterClient::InitBrowserCrashDumpsRegKey() { 74 void CrashReporterClient::InitBrowserCrashDumpsRegKey() {
75 } 75 }
76 76
77 void CrashReporterClient::RecordCrashDumpAttempt(bool is_real_crash) { 77 void CrashReporterClient::RecordCrashDumpAttempt(bool is_real_crash) {
78 } 78 }
79 #endif 79 #endif
80 80
81 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS) 81 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS)
82 void CrashReporterClient::GetProductNameAndVersion(std::string* product_name, 82 void CrashReporterClient::GetProductNameAndVersion(const char** product_name,
83 std::string* version) { 83 const char** version) {
84 } 84 }
85 85
86 base::FilePath CrashReporterClient::GetReporterLogFilename() { 86 base::FilePath CrashReporterClient::GetReporterLogFilename() {
87 return base::FilePath(); 87 return base::FilePath();
88 } 88 }
89 #endif 89 #endif
90 90
91 bool CrashReporterClient::GetCrashDumpLocation(base::FilePath* crash_dir) { 91 bool CrashReporterClient::GetCrashDumpLocation(base::FilePath* crash_dir) {
92 return false; 92 return false;
93 } 93 }
(...skipping 26 matching lines...) Expand all
120 void CrashReporterClient::InstallAdditionalFilters(BreakpadRef breakpad) { 120 void CrashReporterClient::InstallAdditionalFilters(BreakpadRef breakpad) {
121 } 121 }
122 #endif 122 #endif
123 123
124 bool CrashReporterClient::EnableBreakpadForProcess( 124 bool CrashReporterClient::EnableBreakpadForProcess(
125 const std::string& process_type) { 125 const std::string& process_type) {
126 return false; 126 return false;
127 } 127 }
128 128
129 } // namespace crash_reporter 129 } // namespace crash_reporter
OLDNEW
« no previous file with comments | « components/crash/app/crash_reporter_client.h ('k') | content/shell/app/shell_crash_reporter_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698