| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 } | 92 } |
| 93 | 93 |
| 94 const char* package_name() const { | 94 const char* package_name() const { |
| 95 return package_name_; | 95 return package_name_; |
| 96 } | 96 } |
| 97 | 97 |
| 98 const char* build_type() const { | 98 const char* build_type() const { |
| 99 return build_type_; | 99 return build_type_; |
| 100 } | 100 } |
| 101 | 101 |
| 102 std::string extracted_file_suffix() const { return extracted_file_suffix_; } |
| 103 |
| 102 int sdk_int() const { | 104 int sdk_int() const { |
| 103 return sdk_int_; | 105 return sdk_int_; |
| 104 } | 106 } |
| 105 | 107 |
| 106 const char* java_exception_info() const { | 108 const char* java_exception_info() const { |
| 107 return java_exception_info_; | 109 return java_exception_info_; |
| 108 } | 110 } |
| 109 | 111 |
| 110 void SetJavaExceptionInfo(const std::string& info); | 112 void SetJavaExceptionInfo(const std::string& info); |
| 111 | 113 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 125 const char* const model_; | 127 const char* const model_; |
| 126 const char* const brand_; | 128 const char* const brand_; |
| 127 const char* const android_build_id_; | 129 const char* const android_build_id_; |
| 128 const char* const android_build_fp_; | 130 const char* const android_build_fp_; |
| 129 const char* const gms_version_code_; | 131 const char* const gms_version_code_; |
| 130 const char* const package_version_code_; | 132 const char* const package_version_code_; |
| 131 const char* const package_version_name_; | 133 const char* const package_version_name_; |
| 132 const char* const package_label_; | 134 const char* const package_label_; |
| 133 const char* const package_name_; | 135 const char* const package_name_; |
| 134 const char* const build_type_; | 136 const char* const build_type_; |
| 137 // Not needed by breakpad. |
| 138 const std::string extracted_file_suffix_; |
| 135 const int sdk_int_; | 139 const int sdk_int_; |
| 136 // This is set via set_java_exception_info, not at constructor time. | 140 // This is set via set_java_exception_info, not at constructor time. |
| 137 const char* java_exception_info_; | 141 const char* java_exception_info_; |
| 138 | 142 |
| 139 DISALLOW_COPY_AND_ASSIGN(BuildInfo); | 143 DISALLOW_COPY_AND_ASSIGN(BuildInfo); |
| 140 }; | 144 }; |
| 141 | 145 |
| 142 } // namespace android | 146 } // namespace android |
| 143 } // namespace base | 147 } // namespace base |
| 144 | 148 |
| 145 #endif // BASE_ANDROID_BUILD_INFO_H_ | 149 #endif // BASE_ANDROID_BUILD_INFO_H_ |
| OLD | NEW |