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

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

Issue 2968613002: Move some of c/b/feedback/system_logs to //components/feedback (Closed)
Patch Set: fix include Created 3 years, 5 months 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 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_DEBUG_DAEMON_LOG_SOURCE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_DEBUG_DAEMON_LOG_SOURCE_H_
6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_DEBUG_DAEMON_LOG_SOURCE_H_ 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_DEBUG_DAEMON_LOG_SOURCE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "chrome/browser/feedback/system_logs/system_logs_source.h" 12 #include "components/feedback/system_logs/system_logs_source.h"
13 13
14 namespace system_logs { 14 namespace system_logs {
15 15
16 // Gathers log data from a single debugd log source, via DebugDaemonClient. 16 // Gathers log data from a single debugd log source, via DebugDaemonClient.
17 class SingleDebugDaemonLogSource : public SystemLogsSource { 17 class SingleDebugDaemonLogSource : public SystemLogsSource {
18 public: 18 public:
19 enum class SupportedSource { 19 enum class SupportedSource {
20 // For "modetest" command. 20 // For "modetest" command.
21 kModetest, 21 kModetest,
22 22
(...skipping 15 matching lines...) Expand all
38 const std::string& result) const; 38 const std::string& result) const;
39 39
40 base::WeakPtrFactory<SingleDebugDaemonLogSource> weak_ptr_factory_; 40 base::WeakPtrFactory<SingleDebugDaemonLogSource> weak_ptr_factory_;
41 41
42 DISALLOW_COPY_AND_ASSIGN(SingleDebugDaemonLogSource); 42 DISALLOW_COPY_AND_ASSIGN(SingleDebugDaemonLogSource);
43 }; 43 };
44 44
45 } // namespace system_logs 45 } // namespace system_logs
46 46
47 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_DEBUG_DAEMON_LOG_SOURCE_H_ 47 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_DEBUG_DAEMON_LOG_SOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698