blob: fe6f30d44f4878a2b3df74220a813883fa6efb41 [file] [log] [blame]
// Copyright 2014 The Chromium OS 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 FEEDBACK_FEEDBACK_UPLOADER_HTTP_H_
#define FEEDBACK_FEEDBACK_UPLOADER_HTTP_H_
#include "components/feedback/feedback_uploader.h"
#include <string>
namespace feedback {
class FeedbackUploaderHttp : public feedback::FeedbackUploader {
public:
FeedbackUploaderHttp(const base::FilePath& path,
base::SequencedWorkerPool* pool,
const std::string& url);
~FeedbackUploaderHttp() override = default;
private:
friend class FeedbackServiceTest;
void DispatchReport(const std::string& data) override;
DISALLOW_COPY_AND_ASSIGN(FeedbackUploaderHttp);
};
} // namespace feedback
#endif // FEEDBACK_FEEDBACK_UPLOADER_HTTP_H_