1 // Copyright (c) 2012 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 CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_
6 #define CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_
10 #include "base/basictypes.h"
11 #include "base/files/file_path.h"
12 #include "base/memory/ref_counted.h"
13 #include "chrome/browser/feedback/proto/common.pb.h"
14 #include "chrome/browser/feedback/proto/dom.pb.h"
15 #include "chrome/browser/feedback/proto/extension.pb.h"
16 #include "chrome/browser/feedback/proto/math.pb.h"
17 #include "ui/gfx/rect.h"
19 #if defined(OS_MACOSX)
20 #include "base/sys_info.h"
22 #include "base/win/windows_version.h"
33 extern const char kAppLauncherCategoryTag
[];
36 namespace feedback_util
{
38 void SendReport(scoped_refptr
<FeedbackData
> data
);
39 bool ZipString(const base::FilePath
& filename
,
40 const std::string
& data
, std::string
* compressed_data
);
42 } // namespace feedback_util
44 #endif // CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_