Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: components/feedback/feedback_util.h

Issue 225183018: Move feedback files into src/components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to latest Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 COMPONENTS_FEEDBACK_FEEDBACK_UTIL_H_
6 #define CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_ 6 #define COMPONENTS_FEEDBACK_FEEDBACK_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/memory/ref_counted.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"
18 13
19 #if defined(OS_MACOSX) 14 #if defined(OS_MACOSX)
20 #include "base/sys_info.h" 15 #include "base/sys_info.h"
21 #elif defined(OS_WIN) 16 #elif defined(OS_WIN)
22 #include "base/win/windows_version.h" 17 #include "base/win/windows_version.h"
23 #endif 18 #endif
24 19
25 class FeedbackData;
26 class Profile; 20 class Profile;
27 21
28 namespace content { 22 namespace content {
29 class WebContents; 23 class WebContents;
30 } 24 }
31 25
32 namespace chrome { 26 namespace chrome {
33 extern const char kAppLauncherCategoryTag[]; 27 extern const char kAppLauncherCategoryTag[];
34 } // namespace chrome 28 } // namespace chrome
35 29
30 namespace feedback {
31 class FeedbackData;
32 }
33
36 namespace feedback_util { 34 namespace feedback_util {
37 35
38 void SendReport(scoped_refptr<FeedbackData> data); 36 void SendReport(scoped_refptr<feedback::FeedbackData> data);
39 bool ZipString(const base::FilePath& filename, 37 bool ZipString(const base::FilePath& filename,
40 const std::string& data, std::string* compressed_data); 38 const std::string& data, std::string* compressed_data);
41 39
42 } // namespace feedback_util 40 } // namespace feedback_util
43 41
44 #endif // CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_ 42 #endif // COMPONENTS_FEEDBACK_FEEDBACK_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698