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 BASE_ANDROID_BUILD_INFO_H_ | 5 #ifndef BASE_ANDROID_BUILD_INFO_H_ |
6 #define BASE_ANDROID_BUILD_INFO_H_ | 6 #define BASE_ANDROID_BUILD_INFO_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 } | 94 } |
95 | 95 |
96 const char* package_name() const { | 96 const char* package_name() const { |
97 return package_name_; | 97 return package_name_; |
98 } | 98 } |
99 | 99 |
100 const char* build_type() const { | 100 const char* build_type() const { |
101 return build_type_; | 101 return build_type_; |
102 } | 102 } |
103 | 103 |
| 104 const char* installer_package_name() const { return installer_package_name_; } |
| 105 |
| 106 const char* abi_name() const { return abi_name_; } |
| 107 |
104 std::string extracted_file_suffix() const { return extracted_file_suffix_; } | 108 std::string extracted_file_suffix() const { return extracted_file_suffix_; } |
105 | 109 |
106 int sdk_int() const { | 110 int sdk_int() const { |
107 return sdk_int_; | 111 return sdk_int_; |
108 } | 112 } |
109 | 113 |
110 const char* java_exception_info() const { | 114 const char* java_exception_info() const { |
111 return java_exception_info_; | 115 return java_exception_info_; |
112 } | 116 } |
113 | 117 |
(...skipping 16 matching lines...) Expand all Loading... |
130 const char* const manufacturer_; | 134 const char* const manufacturer_; |
131 const char* const model_; | 135 const char* const model_; |
132 const int sdk_int_; | 136 const int sdk_int_; |
133 const char* const build_type_; | 137 const char* const build_type_; |
134 const char* const package_label_; | 138 const char* const package_label_; |
135 const char* const package_name_; | 139 const char* const package_name_; |
136 const char* const package_version_code_; | 140 const char* const package_version_code_; |
137 const char* const package_version_name_; | 141 const char* const package_version_name_; |
138 const char* const android_build_fp_; | 142 const char* const android_build_fp_; |
139 const char* const gms_version_code_; | 143 const char* const gms_version_code_; |
| 144 const char* const installer_package_name_; |
| 145 const char* const abi_name_; |
140 // Not needed by breakpad. | 146 // Not needed by breakpad. |
141 const std::string extracted_file_suffix_; | 147 const std::string extracted_file_suffix_; |
142 // This is set via set_java_exception_info, not at constructor time. | 148 // This is set via set_java_exception_info, not at constructor time. |
143 const char* java_exception_info_; | 149 const char* java_exception_info_; |
144 | 150 |
145 DISALLOW_COPY_AND_ASSIGN(BuildInfo); | 151 DISALLOW_COPY_AND_ASSIGN(BuildInfo); |
146 }; | 152 }; |
147 | 153 |
148 } // namespace android | 154 } // namespace android |
149 } // namespace base | 155 } // namespace base |
150 | 156 |
151 #endif // BASE_ANDROID_BUILD_INFO_H_ | 157 #endif // BASE_ANDROID_BUILD_INFO_H_ |
OLD | NEW |