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

Side by Side Diff: components/breakpad/app/breakpad_client.cc

Issue 99523009: Move DumpProcessWithoutCrash to base, so we can use it from net and content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « components/breakpad/app/breakpad_client.h ('k') | components/breakpad/app/breakpad_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/breakpad/app/breakpad_client.h" 5 #include "components/breakpad/app/breakpad_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 breakpad { 10 namespace breakpad {
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 base::FilePath BreakpadClient::GetReporterLogFilename() { 84 base::FilePath BreakpadClient::GetReporterLogFilename() {
85 return base::FilePath(); 85 return base::FilePath();
86 } 86 }
87 #endif 87 #endif
88 88
89 bool BreakpadClient::GetCrashDumpLocation(base::FilePath* crash_dir) { 89 bool BreakpadClient::GetCrashDumpLocation(base::FilePath* crash_dir) {
90 return false; 90 return false;
91 } 91 }
92 92
93 #if defined(OS_POSIX)
94 void BreakpadClient::SetDumpWithoutCrashingFunction(void (*function)()) {
95 }
96 #endif
97
98 size_t BreakpadClient::RegisterCrashKeys() { 93 size_t BreakpadClient::RegisterCrashKeys() {
99 return 0; 94 return 0;
100 } 95 }
101 96
102 bool BreakpadClient::IsRunningUnattended() { 97 bool BreakpadClient::IsRunningUnattended() {
103 return true; 98 return true;
104 } 99 }
105 100
106 bool BreakpadClient::GetCollectStatsConsent() { 101 bool BreakpadClient::GetCollectStatsConsent() {
107 return false; 102 return false;
(...skipping 14 matching lines...) Expand all
122 #if defined(OS_MACOSX) 117 #if defined(OS_MACOSX)
123 void BreakpadClient::InstallAdditionalFilters(BreakpadRef breakpad) { 118 void BreakpadClient::InstallAdditionalFilters(BreakpadRef breakpad) {
124 } 119 }
125 #endif 120 #endif
126 121
127 bool BreakpadClient::EnableBreakpadForProcess(const std::string& process_type) { 122 bool BreakpadClient::EnableBreakpadForProcess(const std::string& process_type) {
128 return false; 123 return false;
129 } 124 }
130 125
131 } // namespace breakpad 126 } // namespace breakpad
OLDNEW
« no previous file with comments | « components/breakpad/app/breakpad_client.h ('k') | components/breakpad/app/breakpad_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698