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

Side by Side Diff: chrome/app/chrome_breakpad_client.h

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 | « base/native_library.h ('k') | chrome/app/chrome_breakpad_client.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 #ifndef CHROME_APP_CHROME_BREAKPAD_CLIENT_H_ 5 #ifndef CHROME_APP_CHROME_BREAKPAD_CLIENT_H_
6 #define CHROME_APP_CHROME_BREAKPAD_CLIENT_H_ 6 #define CHROME_APP_CHROME_BREAKPAD_CLIENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "components/breakpad/app/breakpad_client.h" 10 #include "components/breakpad/app/breakpad_client.h"
(...skipping 28 matching lines...) Expand all
39 #endif 39 #endif
40 40
41 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS) 41 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS)
42 virtual void GetProductNameAndVersion(std::string* product_name, 42 virtual void GetProductNameAndVersion(std::string* product_name,
43 std::string* version) OVERRIDE; 43 std::string* version) OVERRIDE;
44 virtual base::FilePath GetReporterLogFilename() OVERRIDE; 44 virtual base::FilePath GetReporterLogFilename() OVERRIDE;
45 #endif 45 #endif
46 46
47 virtual bool GetCrashDumpLocation(base::FilePath* crash_dir) OVERRIDE; 47 virtual bool GetCrashDumpLocation(base::FilePath* crash_dir) OVERRIDE;
48 48
49 #if defined(OS_POSIX)
50 virtual void SetDumpWithoutCrashingFunction(void (*function)()) OVERRIDE;
51 #endif
52
53 virtual size_t RegisterCrashKeys() OVERRIDE; 49 virtual size_t RegisterCrashKeys() OVERRIDE;
54 50
55 virtual bool IsRunningUnattended() OVERRIDE; 51 virtual bool IsRunningUnattended() OVERRIDE;
56 52
57 virtual bool GetCollectStatsConsent() OVERRIDE; 53 virtual bool GetCollectStatsConsent() OVERRIDE;
58 54
59 #if defined(OS_WIN) || defined(OS_MACOSX) 55 #if defined(OS_WIN) || defined(OS_MACOSX)
60 virtual bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) OVERRIDE; 56 virtual bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) OVERRIDE;
61 #endif 57 #endif
62 58
63 #if defined(OS_ANDROID) 59 #if defined(OS_ANDROID)
64 virtual int GetAndroidMinidumpDescriptor() OVERRIDE; 60 virtual int GetAndroidMinidumpDescriptor() OVERRIDE;
65 #endif 61 #endif
66 62
67 #if defined(OS_MACOSX) 63 #if defined(OS_MACOSX)
68 virtual void InstallAdditionalFilters(BreakpadRef breakpad) OVERRIDE; 64 virtual void InstallAdditionalFilters(BreakpadRef breakpad) OVERRIDE;
69 #endif 65 #endif
70 66
71 virtual bool EnableBreakpadForProcess( 67 virtual bool EnableBreakpadForProcess(
72 const std::string& process_type) OVERRIDE; 68 const std::string& process_type) OVERRIDE;
73 69
74 private: 70 private:
75 DISALLOW_COPY_AND_ASSIGN(ChromeBreakpadClient); 71 DISALLOW_COPY_AND_ASSIGN(ChromeBreakpadClient);
76 }; 72 };
77 73
78 } // namespace chrome 74 } // namespace chrome
79 75
80 #endif // CHROME_APP_CHROME_BREAKPAD_CLIENT_H_ 76 #endif // CHROME_APP_CHROME_BREAKPAD_CLIENT_H_
OLDNEW
« no previous file with comments | « base/native_library.h ('k') | chrome/app/chrome_breakpad_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698