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_FEEDBACK_SYSTEM_LOGS_SYSTEM_LOGS_SOURCE_H_ | 5 #ifndef COMPONENTS_FEEDBACK_SYSTEM_LOGS_SYSTEM_LOGS_SOURCE_H_ |
6 #define CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_SYSTEM_LOGS_SOURCE_H_ | 6 #define COMPONENTS_FEEDBACK_SYSTEM_LOGS_SYSTEM_LOGS_SOURCE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "components/feedback/feedback_common.h" | 11 #include "components/feedback/feedback_common.h" |
12 | 12 |
13 namespace system_logs { | 13 namespace system_logs { |
14 | 14 |
15 using SystemLogsResponse = FeedbackCommon::SystemLogsMap; | 15 using SystemLogsResponse = FeedbackCommon::SystemLogsMap; |
16 | 16 |
(...skipping 12 matching lines...) Expand all Loading... |
29 virtual void Fetch(const SysLogsSourceCallback& callback) = 0; | 29 virtual void Fetch(const SysLogsSourceCallback& callback) = 0; |
30 | 30 |
31 const std::string& source_name() const { return source_name_; } | 31 const std::string& source_name() const { return source_name_; } |
32 | 32 |
33 private: | 33 private: |
34 std::string source_name_; | 34 std::string source_name_; |
35 }; | 35 }; |
36 | 36 |
37 } // namespace system_logs | 37 } // namespace system_logs |
38 | 38 |
39 #endif // CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_SYSTEM_LOGS_SOURCE_H_ | 39 #endif // COMPONENTS_FEEDBACK_SYSTEM_LOGS_SYSTEM_LOGS_SOURCE_H_ |
OLD | NEW |