Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: base/android/build_info.h

Issue 1641513004: Update //base to chromium 9659b08ea5a34f889dc4166217f438095ddc10d2 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/allocator/BUILD.gn ('k') | base/android/build_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 } 89 }
90 90
91 const char* build_type() const { 91 const char* build_type() const {
92 return build_type_; 92 return build_type_;
93 } 93 }
94 94
95 int sdk_int() const { 95 int sdk_int() const {
96 return sdk_int_; 96 return sdk_int_;
97 } 97 }
98 98
99 int has_language_apk_splits() const { return has_language_apk_splits_; }
100
99 const char* java_exception_info() const { 101 const char* java_exception_info() const {
100 return java_exception_info_; 102 return java_exception_info_;
101 } 103 }
102 104
103 void SetJavaExceptionInfo(const std::string& info); 105 void SetJavaExceptionInfo(const std::string& info);
104 106
105 void ClearJavaExceptionInfo(); 107 void ClearJavaExceptionInfo();
106 108
107 static bool RegisterBindings(JNIEnv* env); 109 static bool RegisterBindings(JNIEnv* env);
108 110
(...skipping 11 matching lines...) Expand all
120 const char* const model_; 122 const char* const model_;
121 const char* const brand_; 123 const char* const brand_;
122 const char* const android_build_id_; 124 const char* const android_build_id_;
123 const char* const android_build_fp_; 125 const char* const android_build_fp_;
124 const char* const package_version_code_; 126 const char* const package_version_code_;
125 const char* const package_version_name_; 127 const char* const package_version_name_;
126 const char* const package_label_; 128 const char* const package_label_;
127 const char* const package_name_; 129 const char* const package_name_;
128 const char* const build_type_; 130 const char* const build_type_;
129 const int sdk_int_; 131 const int sdk_int_;
132 const bool has_language_apk_splits_;
130 // This is set via set_java_exception_info, not at constructor time. 133 // This is set via set_java_exception_info, not at constructor time.
131 const char* java_exception_info_; 134 const char* java_exception_info_;
132 135
133 DISALLOW_COPY_AND_ASSIGN(BuildInfo); 136 DISALLOW_COPY_AND_ASSIGN(BuildInfo);
134 }; 137 };
135 138
136 } // namespace android 139 } // namespace android
137 } // namespace base 140 } // namespace base
138 141
139 #endif // BASE_ANDROID_BUILD_INFO_H_ 142 #endif // BASE_ANDROID_BUILD_INFO_H_
OLDNEW
« no previous file with comments | « base/allocator/BUILD.gn ('k') | base/android/build_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698