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

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

Issue 2691033002: Collect field trial information from the stability file (Closed)
Patch Set: Address rkaplow's comments 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
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
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( 81 FRIEND_TEST_ALL_PREFIXES(
82 PostmortemReportCollectorCollectionFromGlobalTrackerTest, 82 PostmortemReportCollectorCollectionFromGlobalTrackerTest,
83 FieldTrialCollection);
84 FRIEND_TEST_ALL_PREFIXES(
85 PostmortemReportCollectorCollectionFromGlobalTrackerTest,
83 ModuleCollection); 86 ModuleCollection);
84 87
85 // Virtual for unittesting. 88 // Virtual for unittesting.
86 virtual std::vector<base::FilePath> GetDebugStateFilePaths( 89 virtual std::vector<base::FilePath> GetDebugStateFilePaths(
87 const base::FilePath& debug_info_dir, 90 const base::FilePath& debug_info_dir,
88 const base::FilePath::StringType& debug_file_pattern, 91 const base::FilePath::StringType& debug_file_pattern,
89 const std::set<base::FilePath>& excluded_debug_files); 92 const std::set<base::FilePath>& excluded_debug_files);
90 93
91 CollectionStatus CollectAndSubmit( 94 CollectionStatus CollectAndSubmit(
92 const crashpad::UUID& client_id, 95 const crashpad::UUID& client_id,
(...skipping 16 matching lines...) Expand all
109 std::string product_name_; 112 std::string product_name_;
110 std::string version_number_; 113 std::string version_number_;
111 std::string channel_name_; 114 std::string channel_name_;
112 115
113 DISALLOW_COPY_AND_ASSIGN(PostmortemReportCollector); 116 DISALLOW_COPY_AND_ASSIGN(PostmortemReportCollector);
114 }; 117 };
115 118
116 } // namespace browser_watcher 119 } // namespace browser_watcher
117 120
118 #endif // COMPONENTS_BROWSER_WATCHER_POSTMORTEM_REPORT_COLLECTOR_H_ 121 #endif // COMPONENTS_BROWSER_WATCHER_POSTMORTEM_REPORT_COLLECTOR_H_
OLDNEW
« no previous file with comments | « components/browser_watcher/DEPS ('k') | components/browser_watcher/postmortem_report_collector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698