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 #include <vector> | |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #if defined(OS_MACOSX) | 12 #if defined(OS_MACOSX) |
14 #include "base/mac_util.h" | 13 #include "base/mac_util.h" |
15 #include "base/sys_info.h" | 14 #include "base/sys_info.h" |
16 #endif | 15 #endif |
17 #include "base/scoped_ptr.h" | 16 #include "base/scoped_ptr.h" |
18 #include "chrome/browser/userfeedback/proto/common.pb.h" | 17 #include "chrome/browser/userfeedback/proto/common.pb.h" |
19 #include "chrome/browser/userfeedback/proto/extension.pb.h" | 18 #include "chrome/browser/userfeedback/proto/extension.pb.h" |
20 #include "chrome/browser/userfeedback/proto/math.pb.h" | 19 #include "chrome/browser/userfeedback/proto/math.pb.h" |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 private: | 91 private: |
93 // Add a key value pair to the feedback object | 92 // Add a key value pair to the feedback object |
94 static void AddFeedbackData( | 93 static void AddFeedbackData( |
95 userfeedback::ExternalExtensionSubmit* feedback_data, | 94 userfeedback::ExternalExtensionSubmit* feedback_data, |
96 const std::string& key, const std::string& value); | 95 const std::string& key, const std::string& value); |
97 | 96 |
98 DISALLOW_IMPLICIT_CONSTRUCTORS(BugReportUtil); | 97 DISALLOW_IMPLICIT_CONSTRUCTORS(BugReportUtil); |
99 }; | 98 }; |
100 | 99 |
101 #endif // CHROME_BROWSER_BUG_REPORT_UTIL_H_ | 100 #endif // CHROME_BROWSER_BUG_REPORT_UTIL_H_ |
OLD | NEW |