| OLD | NEW |
| 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 #ifndef CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_CRASH_IDS_SOURCE_H_ | 5 #ifndef CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_CRASH_IDS_SOURCE_H_ |
| 6 #define CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_CRASH_IDS_SOURCE_H_ | 6 #define CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_CRASH_IDS_SOURCE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| 11 #include "chrome/browser/feedback/system_logs/system_logs_source.h" | 11 #include "components/feedback/system_logs/system_logs_source.h" |
| 12 #include "components/upload_list/upload_list.h" | 12 #include "components/upload_list/upload_list.h" |
| 13 | 13 |
| 14 namespace system_logs { | 14 namespace system_logs { |
| 15 | 15 |
| 16 // Extract the most recent crash IDs (if any) and adds them to the system logs. | 16 // Extract the most recent crash IDs (if any) and adds them to the system logs. |
| 17 class CrashIdsSource : public SystemLogsSource { | 17 class CrashIdsSource : public SystemLogsSource { |
| 18 public: | 18 public: |
| 19 CrashIdsSource(); | 19 CrashIdsSource(); |
| 20 ~CrashIdsSource() override; | 20 ~CrashIdsSource() override; |
| 21 | 21 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 // True if the crash list is currently being loaded. | 38 // True if the crash list is currently being loaded. |
| 39 bool pending_crash_list_loading_; | 39 bool pending_crash_list_loading_; |
| 40 | 40 |
| 41 DISALLOW_COPY_AND_ASSIGN(CrashIdsSource); | 41 DISALLOW_COPY_AND_ASSIGN(CrashIdsSource); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace system_logs | 44 } // namespace system_logs |
| 45 | 45 |
| 46 #endif // CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_CRASH_IDS_SOURCE_H_ | 46 #endif // CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_CRASH_IDS_SOURCE_H_ |
| OLD | NEW |