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

Side by Side Diff: chrome/browser/chromeos/system_logs/single_log_file_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_LOG_FILE_LOG_SOURCE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_LOG_FILE_LOG_SOURCE_H_
6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_LOG_FILE_LOG_SOURCE_H_ 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_LOG_FILE_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 "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "chrome/browser/feedback/system_logs/system_logs_source.h"
15 #include "components/feedback/anonymizer_tool.h" 14 #include "components/feedback/anonymizer_tool.h"
15 #include "components/feedback/system_logs/system_logs_source.h"
16 16
17 namespace base { 17 namespace base {
18 class Time; 18 class Time;
19 } 19 }
20 20
21 namespace system_logs { 21 namespace system_logs {
22 22
23 // Gathers log data from a single source, possibly incrementally. 23 // Gathers log data from a single source, possibly incrementally.
24 class SingleLogFileLogSource : public SystemLogsSource { 24 class SingleLogFileLogSource : public SystemLogsSource {
25 public: 25 public:
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 feedback::AnonymizerTool anonymizer_; 86 feedback::AnonymizerTool anonymizer_;
87 87
88 base::WeakPtrFactory<SingleLogFileLogSource> weak_ptr_factory_; 88 base::WeakPtrFactory<SingleLogFileLogSource> weak_ptr_factory_;
89 89
90 DISALLOW_COPY_AND_ASSIGN(SingleLogFileLogSource); 90 DISALLOW_COPY_AND_ASSIGN(SingleLogFileLogSource);
91 }; 91 };
92 92
93 } // namespace system_logs 93 } // namespace system_logs
94 94
95 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_LOG_FILE_LOG_SOURCE_H_ 95 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_LOG_FILE_LOG_SOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698