OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHROMEOS_SYSTEM_LOGS_DEVICE_EVENT_LOG_SOURCE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_DEVICE_EVENT_LOG_SOURCE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_DEVICE_EVENT_LOG_SOURCE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_DEVICE_EVENT_LOG_SOURCE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "chrome/browser/feedback/system_logs/system_logs_source.h" | 9 #include "components/feedback/system_logs/system_logs_source.h" |
10 | 10 |
11 namespace system_logs { | 11 namespace system_logs { |
12 | 12 |
13 // Fetches entries for 'network_event_log' and 'device_event_log'. | 13 // Fetches entries for 'network_event_log' and 'device_event_log'. |
14 class DeviceEventLogSource : public SystemLogsSource { | 14 class DeviceEventLogSource : public SystemLogsSource { |
15 public: | 15 public: |
16 DeviceEventLogSource(); | 16 DeviceEventLogSource(); |
17 ~DeviceEventLogSource() override; | 17 ~DeviceEventLogSource() override; |
18 | 18 |
19 // SystemLogsSource override. | 19 // SystemLogsSource override. |
20 void Fetch(const SysLogsSourceCallback& request) override; | 20 void Fetch(const SysLogsSourceCallback& request) override; |
21 | 21 |
22 private: | 22 private: |
23 DISALLOW_COPY_AND_ASSIGN(DeviceEventLogSource); | 23 DISALLOW_COPY_AND_ASSIGN(DeviceEventLogSource); |
24 }; | 24 }; |
25 | 25 |
26 } // namespace system_logs | 26 } // namespace system_logs |
27 | 27 |
28 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_DEVICE_EVENT_LOG_SOURCE_H_ | 28 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_DEVICE_EVENT_LOG_SOURCE_H_ |
OLD | NEW |