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