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

Side by Side Diff: chrome/browser/extensions/api/feedback_private/feedback_service.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 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_EXTENSIONS_API_FEEDBACK_PRIVATE_FEEDBACK_SERVICE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_FEEDBACK_PRIVATE_FEEDBACK_SERVICE_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_FEEDBACK_PRIVATE_FEEDBACK_SERVICE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_FEEDBACK_PRIVATE_FEEDBACK_SERVICE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "chrome/browser/feedback/system_logs/system_logs_fetcher.h"
16 #include "components/feedback/feedback_data.h" 15 #include "components/feedback/feedback_data.h"
16 #include "components/feedback/system_logs/system_logs_fetcher.h"
17 17
18 class Profile; 18 class Profile;
19 19
20 namespace extensions { 20 namespace extensions {
21 21
22 // The feedback service provides the ability to gather the various pieces of 22 // The feedback service provides the ability to gather the various pieces of
23 // data needed to send a feedback report and then send the report once all 23 // data needed to send a feedback report and then send the report once all
24 // the pieces are available. 24 // the pieces are available.
25 class FeedbackService : public base::SupportsWeakPtr<FeedbackService> { 25 class FeedbackService : public base::SupportsWeakPtr<FeedbackService> {
26 public: 26 public:
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // data object once all the requisite data has been populated. 58 // data object once all the requisite data has been populated.
59 void CompleteSendFeedback(scoped_refptr<feedback::FeedbackData> feedback_data, 59 void CompleteSendFeedback(scoped_refptr<feedback::FeedbackData> feedback_data,
60 const SendFeedbackCallback& callback); 60 const SendFeedbackCallback& callback);
61 61
62 DISALLOW_COPY_AND_ASSIGN(FeedbackService); 62 DISALLOW_COPY_AND_ASSIGN(FeedbackService);
63 }; 63 };
64 64
65 } // namespace extensions 65 } // namespace extensions
66 66
67 #endif // CHROME_BROWSER_EXTENSIONS_API_FEEDBACK_PRIVATE_FEEDBACK_SERVICE_H_ 67 #endif // CHROME_BROWSER_EXTENSIONS_API_FEEDBACK_PRIVATE_FEEDBACK_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698