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

Side by Side Diff: components/browser_watcher/postmortem_report_collector.h

Issue 2883103002: Quantify instability according to the stability instrumentation (Closed)
Patch Set: Created 3 years, 7 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 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 // Following an unclean shutdown, a stability report can be collected and 5 // Following an unclean shutdown, a stability report can be collected and
6 // submitted for upload to a reporter. 6 // submitted for upload to a reporter.
7 7
8 #ifndef COMPONENTS_BROWSER_WATCHER_POSTMORTEM_REPORT_COLLECTOR_H_ 8 #ifndef COMPONENTS_BROWSER_WATCHER_POSTMORTEM_REPORT_COLLECTOR_H_
9 #define COMPONENTS_BROWSER_WATCHER_POSTMORTEM_REPORT_COLLECTOR_H_ 9 #define COMPONENTS_BROWSER_WATCHER_POSTMORTEM_REPORT_COLLECTOR_H_
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 virtual bool WriteReportToMinidump(StabilityReport* report, 103 virtual bool WriteReportToMinidump(StabilityReport* report,
104 const crashpad::UUID& client_id, 104 const crashpad::UUID& client_id,
105 const crashpad::UUID& report_id, 105 const crashpad::UUID& report_id,
106 base::PlatformFile minidump_file); 106 base::PlatformFile minidump_file);
107 107
108 std::string product_name_; 108 std::string product_name_;
109 std::string version_number_; 109 std::string version_number_;
110 std::string channel_name_; 110 std::string channel_name_;
111 111
112 SystemSessionAnalyzer* system_session_analyzer_; // Not owned. 112 SystemSessionAnalyzer* system_session_analyzer_; // Not owned.
113 mutable int unclean_system_cnt_;
Sigurður Ásgeirsson 2017/05/15 20:18:04 This doesn't have to be mutable, from what I can s
manzagop (departed) 2017/05/17 22:31:56 It was because RecordSystemShutdownState is const.
113 114
114 DISALLOW_COPY_AND_ASSIGN(PostmortemReportCollector); 115 DISALLOW_COPY_AND_ASSIGN(PostmortemReportCollector);
115 }; 116 };
116 117
117 } // namespace browser_watcher 118 } // namespace browser_watcher
118 119
119 #endif // COMPONENTS_BROWSER_WATCHER_POSTMORTEM_REPORT_COLLECTOR_H_ 120 #endif // COMPONENTS_BROWSER_WATCHER_POSTMORTEM_REPORT_COLLECTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698