| 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 13 matching lines...) Expand all Loading... |
| 24 #elif defined(OS_CHROMEOS) | 24 #elif defined(OS_CHROMEOS) |
| 25 #include "chrome/browser/chromeos/cros/cros_library.h" | 25 #include "chrome/browser/chromeos/cros/cros_library.h" |
| 26 #endif | 26 #endif |
| 27 | 27 |
| 28 class Profile; | 28 class Profile; |
| 29 | 29 |
| 30 namespace content { | 30 namespace content { |
| 31 class WebContents; | 31 class WebContents; |
| 32 } | 32 } |
| 33 | 33 |
| 34 namespace chrome { |
| 35 extern const char kAppLauncherCategoryTag[]; |
| 36 } // namespace chrome |
| 37 |
| 34 class FeedbackUtil { | 38 class FeedbackUtil { |
| 35 public: | 39 public: |
| 36 | 40 |
| 37 #if defined(OS_MACOSX) | 41 #if defined(OS_MACOSX) |
| 38 enum BugType { | 42 enum BugType { |
| 39 PAGE_WONT_LOAD = 0, | 43 PAGE_WONT_LOAD = 0, |
| 40 PAGE_LOOKS_ODD, | 44 PAGE_LOOKS_ODD, |
| 41 PHISHING_PAGE, | 45 PHISHING_PAGE, |
| 42 CANT_SIGN_IN, | 46 CANT_SIGN_IN, |
| 43 CHROME_MISBEHAVES, | 47 CHROME_MISBEHAVES, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 int64 previous_delay); | 93 int64 previous_delay); |
| 90 | 94 |
| 91 #if defined(OS_CHROMEOS) | 95 #if defined(OS_CHROMEOS) |
| 92 static bool ValidFeedbackSize(const std::string& content); | 96 static bool ValidFeedbackSize(const std::string& content); |
| 93 #endif | 97 #endif |
| 94 | 98 |
| 95 DISALLOW_IMPLICIT_CONSTRUCTORS(FeedbackUtil); | 99 DISALLOW_IMPLICIT_CONSTRUCTORS(FeedbackUtil); |
| 96 }; | 100 }; |
| 97 | 101 |
| 98 #endif // CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_ | 102 #endif // CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_ |
| OLD | NEW |