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

Side by Side Diff: components/feedback/system_logs/system_logs_fetcher.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
« no previous file with comments | « components/feedback/BUILD.gn ('k') | components/feedback/system_logs/system_logs_fetcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FETCHER_H_ 5 #ifndef COMPONENTS_FEEDBACK_SYSTEM_LOGS_SYSTEM_LOGS_FETCHER_H_
6 #define CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_SYSTEM_LOGS_FETCHER_H_ 6 #define COMPONENTS_FEEDBACK_SYSTEM_LOGS_SYSTEM_LOGS_FETCHER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/callback.h" 15 #include "base/callback.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
18 #include "chrome/browser/feedback/system_logs/system_logs_source.h"
19 #include "components/feedback/anonymizer_tool.h" 18 #include "components/feedback/anonymizer_tool.h"
20 #include "components/feedback/feedback_common.h" 19 #include "components/feedback/feedback_common.h"
20 #include "components/feedback/system_logs/system_logs_source.h"
21 21
22 namespace system_logs { 22 namespace system_logs {
23 23
24 // Callback that the SystemLogsFetcher uses to return data. 24 // Callback that the SystemLogsFetcher uses to return data.
25 using SysLogsFetcherCallback = 25 using SysLogsFetcherCallback =
26 base::Callback<void(std::unique_ptr<SystemLogsResponse>)>; 26 base::Callback<void(std::unique_ptr<SystemLogsResponse>)>;
27 27
28 // The SystemLogsFetcher fetches key-value data from a list of log sources. 28 // The SystemLogsFetcher fetches key-value data from a list of log sources.
29 // 29 //
30 // EXAMPLE: 30 // EXAMPLE:
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 std::unique_ptr<feedback::AnonymizerTool> anonymizer_; 74 std::unique_ptr<feedback::AnonymizerTool> anonymizer_;
75 75
76 base::WeakPtrFactory<SystemLogsFetcher> weak_ptr_factory_; 76 base::WeakPtrFactory<SystemLogsFetcher> weak_ptr_factory_;
77 77
78 DISALLOW_COPY_AND_ASSIGN(SystemLogsFetcher); 78 DISALLOW_COPY_AND_ASSIGN(SystemLogsFetcher);
79 }; 79 };
80 80
81 } // namespace system_logs 81 } // namespace system_logs
82 82
83 #endif // CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_SYSTEM_LOGS_FETCHER_H_ 83 #endif // COMPONENTS_FEEDBACK_SYSTEM_LOGS_SYSTEM_LOGS_FETCHER_H_
OLDNEW
« no previous file with comments | « components/feedback/BUILD.gn ('k') | components/feedback/system_logs/system_logs_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698