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

Side by Side Diff: chrome/browser/feedback/system_logs/log_sources/crash_ids_source.h

Issue 2969573002: Move SystemLogsSource class into new file (Closed)
Patch Set: redundant using Created 3 years, 5 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 #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_fetcher.h" 11 #include "chrome/browser/feedback/system_logs/system_logs_source.h"
12 #include "components/upload_list/crash_upload_list.h" 12 #include "components/upload_list/crash_upload_list.h"
13 #include "components/upload_list/upload_list.h" 13 #include "components/upload_list/upload_list.h"
14 14
15 namespace system_logs { 15 namespace system_logs {
16 16
17 // Extract the most recent crash IDs (if any) and adds them to the system logs. 17 // Extract the most recent crash IDs (if any) and adds them to the system logs.
18 class CrashIdsSource : public SystemLogsSource, public UploadList::Delegate { 18 class CrashIdsSource : public SystemLogsSource, public UploadList::Delegate {
19 public: 19 public:
20 CrashIdsSource(); 20 CrashIdsSource();
21 ~CrashIdsSource() override; 21 ~CrashIdsSource() override;
(...skipping 18 matching lines...) Expand all
40 40
41 // True if the crash list is currently being loaded. 41 // True if the crash list is currently being loaded.
42 bool pending_crash_list_loading_; 42 bool pending_crash_list_loading_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(CrashIdsSource); 44 DISALLOW_COPY_AND_ASSIGN(CrashIdsSource);
45 }; 45 };
46 46
47 } // namespace system_logs 47 } // namespace system_logs
48 48
49 #endif // CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_CRASH_IDS_SOURCE_H_ 49 #endif // CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_CRASH_IDS_SOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698