root/chrome/browser/feedback/feedback_uploader_chrome.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_FEEDBACK_FEEDBACK_UPLOADER_CHROME_H_
#define CHROME_BROWSER_FEEDBACK_FEEDBACK_UPLOADER_CHROME_H_

#include "chrome/browser/feedback/feedback_uploader.h"

#include "components/keyed_service/core/keyed_service.h"

namespace content {
class BrowserContext;
}

namespace feedback {

class FeedbackUploaderChrome : public FeedbackUploader,
                               public KeyedService {
 public:
  explicit FeedbackUploaderChrome(content::BrowserContext* context);

  virtual void DispatchReport(const std::string& data) OVERRIDE;

 private:
  // Browser context this uploader was created for.
  content::BrowserContext* context_;

  DISALLOW_COPY_AND_ASSIGN(FeedbackUploaderChrome);
};

}  // namespace feedback

#endif  // CHROME_BROWSER_FEEDBACK_FEEDBACK_UPLOADER_CHROME_H_

/* [<][>][^][v][top][bottom][index][help] */