Index: chrome/browser/chromeos/system_logs/single_log_file_log_source.h |
diff --git a/chrome/browser/chromeos/system_logs/single_log_source.h b/chrome/browser/chromeos/system_logs/single_log_file_log_source.h |
similarity index 82% |
rename from chrome/browser/chromeos/system_logs/single_log_source.h |
rename to chrome/browser/chromeos/system_logs/single_log_file_log_source.h |
index 5b66b606bac37a30e3042f09453f10cb6de0a5f1..5998299cc0ea06a7b5a4e91877a086e49edc53e9 100644 |
--- a/chrome/browser/chromeos/system_logs/single_log_source.h |
+++ b/chrome/browser/chromeos/system_logs/single_log_file_log_source.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_LOG_SOURCE_H_ |
-#define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_LOG_SOURCE_H_ |
+#ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_LOG_FILE_LOG_SOURCE_H_ |
+#define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_LOG_FILE_LOG_SOURCE_H_ |
#include <stddef.h> |
#include <sys/types.h> |
@@ -20,7 +20,7 @@ class Time; |
namespace system_logs { |
// Gathers log data from a single source, possibly incrementally. |
-class SingleLogSource : public SystemLogsSource { |
+class SingleLogFileLogSource : public SystemLogsSource { |
public: |
enum class SupportedSource { |
// For /var/log/messages. |
@@ -33,8 +33,8 @@ class SingleLogSource : public SystemLogsSource { |
kAtrusLog, |
}; |
- explicit SingleLogSource(SupportedSource source); |
- ~SingleLogSource() override; |
+ explicit SingleLogFileLogSource(SupportedSource source); |
+ ~SingleLogFileLogSource() override; |
// During testing, use this to set a custom Chrome start time to override the |
// actual start time. Does not take ownership of |start_time|. Call this again |
@@ -45,7 +45,7 @@ class SingleLogSource : public SystemLogsSource { |
void Fetch(const SysLogsSourceCallback& callback) override; |
private: |
- friend class SingleLogSourceTest; |
+ friend class SingleLogFileLogSourceTest; |
// Returns the full path of the log file. |
base::FilePath GetLogFilePath() const; |
@@ -84,11 +84,11 @@ class SingleLogSource : public SystemLogsSource { |
// For removing PII from log results. |
feedback::AnonymizerTool anonymizer_; |
- base::WeakPtrFactory<SingleLogSource> weak_ptr_factory_; |
+ base::WeakPtrFactory<SingleLogFileLogSource> weak_ptr_factory_; |
- DISALLOW_COPY_AND_ASSIGN(SingleLogSource); |
+ DISALLOW_COPY_AND_ASSIGN(SingleLogFileLogSource); |
}; |
} // namespace system_logs |
-#endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_LOG_SOURCE_H_ |
+#endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_SINGLE_LOG_FILE_LOG_SOURCE_H_ |