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

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

Issue 2649773008: Collect module information from the stability file (Closed)
Patch Set: YA signed/unsigned Created 3 years, 10 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 | components/browser_watcher/postmortem_report_collector.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 // 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 FRIEND_TEST_ALL_PREFIXES(PostmortemReportCollectorTest, CollectEmptyFile); 71 FRIEND_TEST_ALL_PREFIXES(PostmortemReportCollectorTest, CollectEmptyFile);
72 FRIEND_TEST_ALL_PREFIXES(PostmortemReportCollectorTest, CollectRandomFile); 72 FRIEND_TEST_ALL_PREFIXES(PostmortemReportCollectorTest, CollectRandomFile);
73 FRIEND_TEST_ALL_PREFIXES(PostmortemReportCollectorCollectionTest, 73 FRIEND_TEST_ALL_PREFIXES(PostmortemReportCollectorCollectionTest,
74 CollectSuccess); 74 CollectSuccess);
75 FRIEND_TEST_ALL_PREFIXES( 75 FRIEND_TEST_ALL_PREFIXES(
76 PostmortemReportCollectorCollectionFromGlobalTrackerTest, 76 PostmortemReportCollectorCollectionFromGlobalTrackerTest,
77 LogCollection); 77 LogCollection);
78 FRIEND_TEST_ALL_PREFIXES( 78 FRIEND_TEST_ALL_PREFIXES(
79 PostmortemReportCollectorCollectionFromGlobalTrackerTest, 79 PostmortemReportCollectorCollectionFromGlobalTrackerTest,
80 GlobalUserDataCollection); 80 GlobalUserDataCollection);
81 FRIEND_TEST_ALL_PREFIXES(
82 PostmortemReportCollectorCollectionFromGlobalTrackerTest,
83 ModuleCollection);
81 84
82 // Virtual for unittesting. 85 // Virtual for unittesting.
83 virtual std::vector<base::FilePath> GetDebugStateFilePaths( 86 virtual std::vector<base::FilePath> GetDebugStateFilePaths(
84 const base::FilePath& debug_info_dir, 87 const base::FilePath& debug_info_dir,
85 const base::FilePath::StringType& debug_file_pattern, 88 const base::FilePath::StringType& debug_file_pattern,
86 const std::set<base::FilePath>& excluded_debug_files); 89 const std::set<base::FilePath>& excluded_debug_files);
87 90
88 CollectionStatus CollectAndSubmit( 91 CollectionStatus CollectAndSubmit(
89 const crashpad::UUID& client_id, 92 const crashpad::UUID& client_id,
90 const base::FilePath& file, 93 const base::FilePath& file,
(...skipping 15 matching lines...) Expand all
106 std::string product_name_; 109 std::string product_name_;
107 std::string version_number_; 110 std::string version_number_;
108 std::string channel_name_; 111 std::string channel_name_;
109 112
110 DISALLOW_COPY_AND_ASSIGN(PostmortemReportCollector); 113 DISALLOW_COPY_AND_ASSIGN(PostmortemReportCollector);
111 }; 114 };
112 115
113 } // namespace browser_watcher 116 } // namespace browser_watcher
114 117
115 #endif // COMPONENTS_BROWSER_WATCHER_POSTMORTEM_REPORT_COLLECTOR_H_ 118 #endif // COMPONENTS_BROWSER_WATCHER_POSTMORTEM_REPORT_COLLECTOR_H_
OLDNEW
« no previous file with comments | « no previous file | components/browser_watcher/postmortem_report_collector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698