OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_CRASH_CORE_BROWSER_CRASHES_UI_UTIL_H_ | 5 #ifndef COMPONENTS_CRASH_CORE_BROWSER_CRASHES_UI_UTIL_H_ |
6 #define COMPONENTS_CRASH_CORE_BROWSER_CRASHES_UI_UTIL_H_ | 6 #define COMPONENTS_CRASH_CORE_BROWSER_CRASHES_UI_UTIL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 namespace base { | 10 namespace base { |
(...skipping 15 matching lines...) Expand all Loading... |
26 extern const CrashesUILocalizedString kCrashesUILocalizedStrings[]; | 26 extern const CrashesUILocalizedString kCrashesUILocalizedStrings[]; |
27 extern const size_t kCrashesUILocalizedStringsCount; | 27 extern const size_t kCrashesUILocalizedStringsCount; |
28 | 28 |
29 // Strings used by the WebUI resources. | 29 // Strings used by the WebUI resources. |
30 // Must match the constants used in the resource files. | 30 // Must match the constants used in the resource files. |
31 extern const char kCrashesUICrashesJS[]; | 31 extern const char kCrashesUICrashesJS[]; |
32 extern const char kCrashesUIRequestCrashList[]; | 32 extern const char kCrashesUIRequestCrashList[]; |
33 extern const char kCrashesUIRequestCrashUpload[]; | 33 extern const char kCrashesUIRequestCrashUpload[]; |
34 extern const char kCrashesUIShortProductName[]; | 34 extern const char kCrashesUIShortProductName[]; |
35 extern const char kCrashesUIUpdateCrashList[]; | 35 extern const char kCrashesUIUpdateCrashList[]; |
| 36 extern const char kCrashesUIRequestSingleCrashUpload[]; |
36 | 37 |
37 // Converts and appends the most recent uploads to |out_value|. | 38 // Converts and appends the most recent uploads to |out_value|. |
38 void UploadListToValue(UploadList* upload_list, base::ListValue* out_value); | 39 void UploadListToValue(UploadList* upload_list, base::ListValue* out_value); |
39 | 40 |
40 } // namespace crash | 41 } // namespace crash |
41 | 42 |
42 #endif // COMPONENTS_CRASH_CORE_BROWSER_CRASHES_UI_UTIL_H_ | 43 #endif // COMPONENTS_CRASH_CORE_BROWSER_CRASHES_UI_UTIL_H_ |
OLD | NEW |