Disable PPAPINaClNewlibTest.URLLoader2 test again.
[chromium-blink-merge.git] / components / feedback / feedback_util.h
blob04460351f3346b0476422e365eb5d2b3f112cb9e
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.
5 #ifndef COMPONENTS_FEEDBACK_FEEDBACK_UTIL_H_
6 #define COMPONENTS_FEEDBACK_FEEDBACK_UTIL_H_
8 #include <string>
10 #include "base/basictypes.h"
11 #include "base/files/file_path.h"
12 #include "base/memory/ref_counted.h"
14 #if defined(OS_MACOSX)
15 #include "base/sys_info.h"
16 #elif defined(OS_WIN)
17 #include "base/win/windows_version.h"
18 #endif
20 class Profile;
22 namespace content {
23 class WebContents;
26 namespace chrome {
27 extern const char kAppLauncherCategoryTag[];
28 } // namespace chrome
30 namespace feedback {
31 class FeedbackData;
34 namespace feedback_util {
36 void SendReport(scoped_refptr<feedback::FeedbackData> data);
37 bool ZipString(const base::FilePath& filename,
38 const std::string& data, std::string* compressed_data);
40 } // namespace feedback_util
42 #endif // COMPONENTS_FEEDBACK_FEEDBACK_UTIL_H_