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 "third_party/crashpad/crashpad/handler/user_stream_data_source.h" |
| 12 |
| 13 namespace crashpad { |
| 14 class MinidumpUserExtensionStreamDataSource; |
| 15 class ProcessSnapshot; |
| 16 } |
| 17 |
| 18 namespace browser_watcher { |
| 19 |
| 20 class StabilityReportUserStreamDataSource |
| 21 : public crashpad::UserStreamDataSource { |
| 22 public: |
| 23 StabilityReportUserStreamDataSource() {} |
| 24 |
| 25 std::unique_ptr<crashpad::MinidumpUserExtensionStreamDataSource> |
| 26 ProduceStreamData(crashpad::ProcessSnapshot* process_snapshot) override; |
| 27 |
| 28 private: |
| 29 DISALLOW_COPY_AND_ASSIGN(StabilityReportUserStreamDataSource); |
| 30 }; |
| 31 |
| 32 } // namespace browser_watcher |
| 33 |
| 34 #endif // COMPONENTS_BROWSER_WATCHER_STABILITY_REPORT_USER_STREAM_DATA_SOURCE_H
_ |
OLD | NEW |