OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_MEMORY_DETAILS_LOG_SOURC
E_H_ |
6 #define CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_MEMORY_DETAILS_LOG_SOURC
E_H_ | 6 #define CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_MEMORY_DETAILS_LOG_SOURC
E_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "chrome/browser/feedback/system_logs/system_logs_fetcher_base.h" | 9 #include "chrome/browser/feedback/system_logs/system_logs_fetcher_base.h" |
9 | 10 |
10 namespace system_logs { | 11 namespace system_logs { |
11 | 12 |
12 // Fetches memory usage details. | 13 // Fetches memory usage details. |
13 class MemoryDetailsLogSource : public SystemLogsSource { | 14 class MemoryDetailsLogSource : public SystemLogsSource { |
14 public: | 15 public: |
15 MemoryDetailsLogSource(); | 16 MemoryDetailsLogSource(); |
16 ~MemoryDetailsLogSource() override; | 17 ~MemoryDetailsLogSource() override; |
17 | 18 |
18 // SystemLogsSource override. | 19 // SystemLogsSource override. |
19 void Fetch(const SysLogsSourceCallback& request) override; | 20 void Fetch(const SysLogsSourceCallback& request) override; |
20 | 21 |
21 private: | 22 private: |
22 DISALLOW_COPY_AND_ASSIGN(MemoryDetailsLogSource); | 23 DISALLOW_COPY_AND_ASSIGN(MemoryDetailsLogSource); |
23 }; | 24 }; |
24 | 25 |
25 } // namespace system_logs | 26 } // namespace system_logs |
26 | 27 |
27 #endif // CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_MEMORY_DETAILS_LOG_SO
URCE_H_ | 28 #endif // CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_MEMORY_DETAILS_LOG_SO
URCE_H_ |
OLD | NEW |