blob: 9a1d52c1ec02893bef21ba3da6e345f4a934c920 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// 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 COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_CHROME_H_
#define COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_CHROME_H_
#include "components/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);
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 // COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_CHROME_H_
|