OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_CHROME_H_ | 5 #ifndef COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_CHROME_H_ |
6 #define COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_CHROME_H_ | 6 #define COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_CHROME_H_ |
7 | 7 |
8 #include "components/feedback/feedback_uploader.h" | 8 #include "components/feedback/feedback_uploader.h" |
9 #include "components/keyed_service/core/keyed_service.h" | 9 #include "components/keyed_service/core/keyed_service.h" |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 class BrowserContext; | 12 class BrowserContext; |
13 } | 13 } |
14 | 14 |
15 namespace feedback { | 15 namespace feedback { |
16 | 16 |
17 class FeedbackUploaderChrome : public FeedbackUploader, | 17 class FeedbackUploaderChrome : public FeedbackUploader, |
18 public KeyedService { | 18 public KeyedService { |
19 public: | 19 public: |
20 explicit FeedbackUploaderChrome(content::BrowserContext* context); | 20 explicit FeedbackUploaderChrome(content::BrowserContext* context); |
21 | 21 |
22 virtual void DispatchReport(const std::string& data) OVERRIDE; | 22 virtual void DispatchReport(const std::string& data) override; |
23 | 23 |
24 private: | 24 private: |
25 // Browser context this uploader was created for. | 25 // Browser context this uploader was created for. |
26 content::BrowserContext* context_; | 26 content::BrowserContext* context_; |
27 | 27 |
28 DISALLOW_COPY_AND_ASSIGN(FeedbackUploaderChrome); | 28 DISALLOW_COPY_AND_ASSIGN(FeedbackUploaderChrome); |
29 }; | 29 }; |
30 | 30 |
31 } // namespace feedback | 31 } // namespace feedback |
32 | 32 |
33 #endif // COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_CHROME_H_ | 33 #endif // COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_CHROME_H_ |
OLD | NEW |