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

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

Issue 2221833005: Adding support for sampling crashes in Chrome on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scottmg's comments, adding DCHECK Created 4 years, 4 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
« no previous file with comments | « no previous file | chrome/app/chrome_crash_reporter_client_win.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_CRASH_REPORTER_CLIENT_WIN_H_ 5 #ifndef CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_
6 #define CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_ 6 #define CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/crash/content/app/crash_reporter_client.h" 9 #include "components/crash/content/app/crash_reporter_client.h"
10 10
(...skipping 26 matching lines...) Expand all
37 int GetResultCodeRespawnFailed() override; 37 int GetResultCodeRespawnFailed() override;
38 38
39 bool GetCrashDumpLocation(base::string16* crash_dir) override; 39 bool GetCrashDumpLocation(base::string16* crash_dir) override;
40 40
41 size_t RegisterCrashKeys() override; 41 size_t RegisterCrashKeys() override;
42 42
43 bool IsRunningUnattended() override; 43 bool IsRunningUnattended() override;
44 44
45 bool GetCollectStatsConsent() override; 45 bool GetCollectStatsConsent() override;
46 46
47 bool GetCollectStatsInSample() override;
48
47 bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) override; 49 bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) override;
48 50
49 bool EnableBreakpadForProcess(const std::string& process_type) override; 51 bool EnableBreakpadForProcess(const std::string& process_type) override;
50 52
51 private: 53 private:
52 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); 54 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient);
53 }; 55 };
54 56
55 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_ 57 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/app/chrome_crash_reporter_client_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698