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

Side by Side Diff: chrome/browser/chromeos/system_logs/device_event_log_source.h

Issue 773703002: Generalize network_event_log -> device_event_log (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + feedback Created 6 years 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 2013 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_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_MEMORY_DETAILS_LOG_SOURC E_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_DEVICE_EVENT_LOG_SOURCE_H_
6 #define CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_MEMORY_DETAILS_LOG_SOURC E_H_ 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_DEVICE_EVENT_LOG_SOURCE_H_
7 7
8 #include "chrome/browser/feedback/system_logs/system_logs_fetcher_base.h" 8 #include "chrome/browser/feedback/system_logs/system_logs_fetcher_base.h"
9 9
10 namespace system_logs { 10 namespace system_logs {
11 11
12 // Fetches memory usage details. 12 // Fetches entries for 'network_event_log' and 'device_event_log'.
13 class MemoryDetailsLogSource : public SystemLogsSource { 13 class DeviceEventLogSource : public SystemLogsSource {
14 public: 14 public:
15 MemoryDetailsLogSource(); 15 DeviceEventLogSource();
16 ~MemoryDetailsLogSource() override; 16 ~DeviceEventLogSource() override;
17 17
18 // SystemLogsSource override. 18 // SystemLogsSource override.
19 void Fetch(const SysLogsSourceCallback& request) override; 19 void Fetch(const SysLogsSourceCallback& request) override;
20 20
21 private: 21 private:
22 DISALLOW_COPY_AND_ASSIGN(MemoryDetailsLogSource); 22 DISALLOW_COPY_AND_ASSIGN(DeviceEventLogSource);
23 }; 23 };
24 24
25 } // namespace system_logs 25 } // namespace system_logs
26 26
27 #endif // CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_MEMORY_DETAILS_LOG_SO URCE_H_ 27 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_DEVICE_EVENT_LOG_SOURCE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/system/syslogs_provider.cc ('k') | chrome/browser/chromeos/system_logs/device_event_log_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698