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" |
11 #include "chrome/browser/feedback/proto/common.pb.h" | 11 #include "chrome/browser/feedback/proto/common.pb.h" |
| 12 #include "chrome/browser/feedback/proto/dom.pb.h" |
12 #include "chrome/browser/feedback/proto/extension.pb.h" | 13 #include "chrome/browser/feedback/proto/extension.pb.h" |
13 #include "chrome/browser/feedback/proto/math.pb.h" | 14 #include "chrome/browser/feedback/proto/math.pb.h" |
14 #include "chrome/browser/ui/webui/screenshot_source.h" | 15 #include "chrome/browser/ui/webui/screenshot_source.h" |
15 #include "ui/gfx/rect.h" | 16 #include "ui/gfx/rect.h" |
16 | 17 |
17 #if defined(OS_MACOSX) | 18 #if defined(OS_MACOSX) |
18 #include "base/sys_info.h" | 19 #include "base/sys_info.h" |
19 #elif defined(OS_WIN) | 20 #elif defined(OS_WIN) |
20 #include "base/win/windows_version.h" | 21 #include "base/win/windows_version.h" |
21 #elif defined(OS_CHROMEOS) | 22 #elif defined(OS_CHROMEOS) |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 int64 previous_delay); | 104 int64 previous_delay); |
104 | 105 |
105 #if defined(OS_CHROMEOS) | 106 #if defined(OS_CHROMEOS) |
106 static bool ValidFeedbackSize(const std::string& content); | 107 static bool ValidFeedbackSize(const std::string& content); |
107 #endif | 108 #endif |
108 | 109 |
109 DISALLOW_IMPLICIT_CONSTRUCTORS(FeedbackUtil); | 110 DISALLOW_IMPLICIT_CONSTRUCTORS(FeedbackUtil); |
110 }; | 111 }; |
111 | 112 |
112 #endif // CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_ | 113 #endif // CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_ |
OLD | NEW |