OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_ | 5 #ifndef CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_ |
6 #define CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_ | 6 #define CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 | 31 |
32 namespace chrome { | 32 namespace chrome { |
33 extern const char kAppLauncherCategoryTag[]; | 33 extern const char kAppLauncherCategoryTag[]; |
34 } // namespace chrome | 34 } // namespace chrome |
35 | 35 |
36 namespace feedback_util { | 36 namespace feedback_util { |
37 | 37 |
38 void SendReport(scoped_refptr<FeedbackData> data); | 38 void SendReport(scoped_refptr<FeedbackData> data); |
39 bool ZipString(const base::FilePath& filename, | 39 bool ZipString(const base::FilePath& filename, |
40 const std::string& data, std::string* compressed_data); | 40 const std::string& data, std::string* compressed_data); |
41 bool ZipFile(const base::FilePath& filename, std::string* compressed_data); | |
42 | 41 |
43 } // namespace feedback_util | 42 } // namespace feedback_util |
44 | 43 |
45 #endif // CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_ | 44 #endif // CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_ |
OLD | NEW |