OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_BUG_REPORT_UTIL_H_ | 5 #ifndef CHROME_BROWSER_BUG_REPORT_UTIL_H_ |
6 #define CHROME_BROWSER_BUG_REPORT_UTIL_H_ | 6 #define CHROME_BROWSER_BUG_REPORT_UTIL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "chrome/browser/userfeedback/proto/common.pb.h" | 12 #include "chrome/browser/userfeedback/proto/common.pb.h" |
13 #include "chrome/browser/userfeedback/proto/extension.pb.h" | 13 #include "chrome/browser/userfeedback/proto/extension.pb.h" |
14 #include "chrome/browser/userfeedback/proto/math.pb.h" | 14 #include "chrome/browser/userfeedback/proto/math.pb.h" |
15 #include "gfx/rect.h" | 15 #include "ui/gfx/rect.h" |
16 | 16 |
17 #if defined(OS_MACOSX) | 17 #if defined(OS_MACOSX) |
18 #include "base/sys_info.h" | 18 #include "base/sys_info.h" |
19 #elif defined(OS_WIN) | 19 #elif defined(OS_WIN) |
20 #include "base/win/windows_version.h" | 20 #include "base/win/windows_version.h" |
21 #elif defined(OS_CHROMEOS) | 21 #elif defined(OS_CHROMEOS) |
22 #include "chrome/browser/chromeos/cros/syslogs_library.h" | 22 #include "chrome/browser/chromeos/cros/syslogs_library.h" |
23 #include "chrome/browser/chromeos/cros/cros_library.h" | 23 #include "chrome/browser/chromeos/cros/cros_library.h" |
24 #endif | 24 #endif |
25 | 25 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 #if defined(OS_CHROMEOS) | 99 #if defined(OS_CHROMEOS) |
100 static bool ValidFeedbackSize(const std::string& content); | 100 static bool ValidFeedbackSize(const std::string& content); |
101 #endif | 101 #endif |
102 | 102 |
103 static std::string feedback_server_; | 103 static std::string feedback_server_; |
104 | 104 |
105 DISALLOW_IMPLICIT_CONSTRUCTORS(BugReportUtil); | 105 DISALLOW_IMPLICIT_CONSTRUCTORS(BugReportUtil); |
106 }; | 106 }; |
107 | 107 |
108 #endif // CHROME_BROWSER_BUG_REPORT_UTIL_H_ | 108 #endif // CHROME_BROWSER_BUG_REPORT_UTIL_H_ |
OLD | NEW |