Roll src/third_party/WebKit 48de1d8:ada7a3d (svn 202597:202598)
[chromium-blink-merge.git] / components / feedback / feedback_uploader_chrome.h
blob9a1d52c1ec02893bef21ba3da6e345f4a934c920
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
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_CHROME_H_
6 #define COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_CHROME_H_
8 #include "components/feedback/feedback_uploader.h"
9 #include "components/keyed_service/core/keyed_service.h"
11 namespace content {
12 class BrowserContext;
15 namespace feedback {
17 class FeedbackUploaderChrome : public FeedbackUploader,
18 public KeyedService {
19 public:
20 explicit FeedbackUploaderChrome(content::BrowserContext* context);
22 void DispatchReport(const std::string& data) override;
24 private:
25 // Browser context this uploader was created for.
26 content::BrowserContext* context_;
28 DISALLOW_COPY_AND_ASSIGN(FeedbackUploaderChrome);
31 } // namespace feedback
33 #endif // COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_CHROME_H_