Roll ANGLE bc75f36:ef9d63e
[chromium-blink-merge.git] / components / feedback / feedback_uploader_chrome.h
blob6c4381d3c86448084ec581f4b59f89f65864f5f3
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 virtual 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_