| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DEBUG_DAEMON_LOG_SOURCE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_DEBUG_DAEMON_LOG_SOURCE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_DEBUG_DAEMON_LOG_SOURCE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_DEBUG_DAEMON_LOG_SOURCE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "chrome/browser/feedback/system_logs/system_logs_fetcher.h" | 15 #include "chrome/browser/feedback/system_logs/system_logs_source.h" |
| 16 | 16 |
| 17 namespace system_logs { | 17 namespace system_logs { |
| 18 | 18 |
| 19 // Gathers log data from Debug Daemon. | 19 // Gathers log data from Debug Daemon. |
| 20 class DebugDaemonLogSource : public SystemLogsSource { | 20 class DebugDaemonLogSource : public SystemLogsSource { |
| 21 public: | 21 public: |
| 22 explicit DebugDaemonLogSource(bool scrub); | 22 explicit DebugDaemonLogSource(bool scrub); |
| 23 ~DebugDaemonLogSource() override; | 23 ~DebugDaemonLogSource() override; |
| 24 | 24 |
| 25 // SystemLogsSource override: | 25 // SystemLogsSource override: |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 bool scrub_; | 61 bool scrub_; |
| 62 base::WeakPtrFactory<DebugDaemonLogSource> weak_ptr_factory_; | 62 base::WeakPtrFactory<DebugDaemonLogSource> weak_ptr_factory_; |
| 63 | 63 |
| 64 DISALLOW_COPY_AND_ASSIGN(DebugDaemonLogSource); | 64 DISALLOW_COPY_AND_ASSIGN(DebugDaemonLogSource); |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 | 67 |
| 68 } // namespace system_logs | 68 } // namespace system_logs |
| 69 | 69 |
| 70 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_DEBUG_DAEMON_LOG_SOURCE_H_ | 70 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_DEBUG_DAEMON_LOG_SOURCE_H_ |
| OLD | NEW |