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 14 matching lines...) Expand all Loading... |
25 #include "chrome/browser/chromeos/cros/cros_library.h" | 25 #include "chrome/browser/chromeos/cros/cros_library.h" |
26 #include "chrome/browser/chromeos/system/syslogs_provider.h" | 26 #include "chrome/browser/chromeos/system/syslogs_provider.h" |
27 #endif | 27 #endif |
28 | 28 |
29 class Profile; | 29 class Profile; |
30 | 30 |
31 namespace content { | 31 namespace content { |
32 class WebContents; | 32 class WebContents; |
33 } | 33 } |
34 | 34 |
| 35 namespace chrome { |
| 36 |
35 extern const char kSyncDataKey[]; | 37 extern const char kSyncDataKey[]; |
| 38 extern const char kAppLauncherCategoryTag[]; |
36 | 39 |
37 #if defined(OS_CHROMEOS) | 40 #if defined(OS_CHROMEOS) |
38 extern const char kHUDLogDataKey[]; | 41 extern const char kHUDLogDataKey[]; |
39 #endif | 42 #endif |
40 | 43 |
| 44 } // namespace chrome |
| 45 |
41 class FeedbackUtil { | 46 class FeedbackUtil { |
42 public: | 47 public: |
43 | 48 |
44 #if defined(OS_MACOSX) | 49 #if defined(OS_MACOSX) |
45 enum BugType { | 50 enum BugType { |
46 PAGE_WONT_LOAD = 0, | 51 PAGE_WONT_LOAD = 0, |
47 PAGE_LOOKS_ODD, | 52 PAGE_LOOKS_ODD, |
48 PHISHING_PAGE, | 53 PHISHING_PAGE, |
49 CANT_SIGN_IN, | 54 CANT_SIGN_IN, |
50 CHROME_MISBEHAVES, | 55 CHROME_MISBEHAVES, |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 int64 previous_delay); | 101 int64 previous_delay); |
97 | 102 |
98 #if defined(OS_CHROMEOS) | 103 #if defined(OS_CHROMEOS) |
99 static bool ValidFeedbackSize(const std::string& content); | 104 static bool ValidFeedbackSize(const std::string& content); |
100 #endif | 105 #endif |
101 | 106 |
102 DISALLOW_IMPLICIT_CONSTRUCTORS(FeedbackUtil); | 107 DISALLOW_IMPLICIT_CONSTRUCTORS(FeedbackUtil); |
103 }; | 108 }; |
104 | 109 |
105 #endif // CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_ | 110 #endif // CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_ |
OLD | NEW |