| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_SINGLE_LOG_SOURCE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_LOG_SOURCE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_LOG_SOURCE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_LOG_SOURCE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <sys/types.h> | 9 #include <sys/types.h> |
| 10 | 10 |
| 11 #include "base/files/file.h" | 11 #include "base/files/file.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "chrome/browser/feedback/system_logs/system_logs_fetcher.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "chrome/browser/feedback/system_logs/system_logs_source.h" |
| 14 #include "components/feedback/anonymizer_tool.h" | 15 #include "components/feedback/anonymizer_tool.h" |
| 15 | 16 |
| 16 namespace base { | 17 namespace base { |
| 17 class Time; | 18 class Time; |
| 18 } | 19 } |
| 19 | 20 |
| 20 namespace system_logs { | 21 namespace system_logs { |
| 21 | 22 |
| 22 // Gathers log data from a single source, possibly incrementally. | 23 // Gathers log data from a single source, possibly incrementally. |
| 23 class SingleLogSource : public SystemLogsSource { | 24 class SingleLogSource : public SystemLogsSource { |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 feedback::AnonymizerTool anonymizer_; | 86 feedback::AnonymizerTool anonymizer_; |
| 86 | 87 |
| 87 base::WeakPtrFactory<SingleLogSource> weak_ptr_factory_; | 88 base::WeakPtrFactory<SingleLogSource> weak_ptr_factory_; |
| 88 | 89 |
| 89 DISALLOW_COPY_AND_ASSIGN(SingleLogSource); | 90 DISALLOW_COPY_AND_ASSIGN(SingleLogSource); |
| 90 }; | 91 }; |
| 91 | 92 |
| 92 } // namespace system_logs | 93 } // namespace system_logs |
| 93 | 94 |
| 94 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_LOG_SOURCE_H_ | 95 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_LOG_SOURCE_H_ |
| OLD | NEW |