Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef COMPONENTS_BROWSER_WATCHER_STABILITY_REPORT_USER_STREAM_DATA_SOURCE_H_ | |
| 6 #define COMPONENTS_BROWSER_WATCHER_STABILITY_REPORT_USER_STREAM_DATA_SOURCE_H_ | |
| 7 | |
| 8 #include <memory> | |
| 9 | |
| 10 #include "base/logging.h" | |
| 11 #include "base/strings/string16.h" | |
| 12 #include "third_party/crashpad/crashpad/handler/user_stream_data_source.h" | |
| 13 | |
| 14 namespace crashpad { | |
| 15 class MinidumpUserExtensionStreamDataSource; | |
| 16 class ProcessSnapshot; | |
| 17 } | |
| 18 | |
| 19 namespace browser_watcher { | |
| 20 | |
| 21 class StabilityReportUserStreamDataSource | |
|
Sigurður Ásgeirsson
2017/05/11 15:33:40
nit: quick comment on the purpose of this class?
manzagop (departed)
2017/05/11 19:14:53
Done.
| |
| 22 : public crashpad::UserStreamDataSource { | |
| 23 public: | |
| 24 explicit StabilityReportUserStreamDataSource( | |
| 25 const base::string16& user_data_dir); | |
| 26 | |
| 27 std::unique_ptr<crashpad::MinidumpUserExtensionStreamDataSource> | |
| 28 ProduceStreamData(crashpad::ProcessSnapshot* process_snapshot) override; | |
| 29 | |
| 30 private: | |
| 31 base::string16 user_data_dir_; | |
| 32 | |
| 33 DISALLOW_COPY_AND_ASSIGN(StabilityReportUserStreamDataSource); | |
| 34 }; | |
| 35 | |
| 36 } // namespace browser_watcher | |
| 37 | |
| 38 #endif // COMPONENTS_BROWSER_WATCHER_STABILITY_REPORT_USER_STREAM_DATA_SOURCE_H _ | |
| OLD | NEW |