summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/feedback_util.h
blob: 73990613e3cb7e99c410b8c96fccada85000a0b9 (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
// Copyright 2016 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_CHROMEOS_FEEDBACK_UTIL_H_
#define CHROME_BROWSER_CHROMEOS_FEEDBACK_UTIL_H_

#include <string>

#include "base/callback_forward.h"

class Profile;

namespace feedback_util {

// Sends a system log feedback from the given |profile| with the
// given |description|. |callback| will be invoked when the feedback is sent.
using SendSysLogFeedbackCallback = base::Callback<void(bool)>;
void SendSysLogFeedback(Profile* profile,
                        const std::string& description,
                        const SendSysLogFeedbackCallback& callback);

}  // namespace feedback_util

#endif  // CHROME_BROWSER_CHROMEOS_FEEDBACK_UTIL_H_