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

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

Issue 27031002: Move checking of configured policy on win to breakpad client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/breakpad_win.cc ('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/breakpad_client.h" 10 #include "components/breakpad/breakpad_client.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 #if defined(OS_POSIX) 49 #if defined(OS_POSIX)
50 virtual void SetDumpWithoutCrashingFunction(void (*function)()) OVERRIDE; 50 virtual void SetDumpWithoutCrashingFunction(void (*function)()) OVERRIDE;
51 #endif 51 #endif
52 52
53 virtual size_t RegisterCrashKeys() OVERRIDE; 53 virtual size_t RegisterCrashKeys() OVERRIDE;
54 54
55 virtual bool IsRunningUnattended() OVERRIDE; 55 virtual bool IsRunningUnattended() OVERRIDE;
56 56
57 #if defined(OS_WIN) || defined(OS_MACOSX) 57 #if defined(OS_WIN) || defined(OS_MACOSX)
58 virtual bool GetCollectStatsConsent() OVERRIDE; 58 virtual bool GetCollectStatsConsent() OVERRIDE;
59
60 virtual bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) OVERRIDE;
59 #endif 61 #endif
60 62
61 #if defined(OS_ANDROID) 63 #if defined(OS_ANDROID)
62 virtual int GetAndroidMinidumpDescriptor() OVERRIDE; 64 virtual int GetAndroidMinidumpDescriptor() OVERRIDE;
63 #endif 65 #endif
64 66
65 #if defined(OS_MACOSX) 67 #if defined(OS_MACOSX)
66 virtual void InstallAdditionalFilters(BreakpadRef breakpad) OVERRIDE; 68 virtual void InstallAdditionalFilters(BreakpadRef breakpad) OVERRIDE;
67
68 virtual bool ReportingIsEnforcedByPolicy() OVERRIDE;
69 #endif 69 #endif
70 70
71 private: 71 private:
72 DISALLOW_COPY_AND_ASSIGN(ChromeBreakpadClient); 72 DISALLOW_COPY_AND_ASSIGN(ChromeBreakpadClient);
73 }; 73 };
74 74
75 } // namespace chrome 75 } // namespace chrome
76 76
77 #endif // CHROME_APP_CHROME_BREAKPAD_CLIENT_H_ 77 #endif // CHROME_APP_CHROME_BREAKPAD_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/app/breakpad_win.cc ('k') | chrome/app/chrome_breakpad_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698