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

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

Issue 1543293003: Switch to standard integer types in base/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/android/base_jni_registrar.cc ('k') | base/android/content_uri_utils.h » ('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>
11 11
12 #include "base/base_export.h" 12 #include "base/base_export.h"
13 #include "base/macros.h"
13 #include "base/memory/singleton.h" 14 #include "base/memory/singleton.h"
14 15
15 namespace base { 16 namespace base {
16 namespace android { 17 namespace android {
17 18
18 // This enumeration maps to the values returned by BuildInfo::sdk_int(), 19 // This enumeration maps to the values returned by BuildInfo::sdk_int(),
19 // indicating the Android release associated with a given SDK version. 20 // indicating the Android release associated with a given SDK version.
20 enum SdkVersion { 21 enum SdkVersion {
21 SDK_VERSION_JELLY_BEAN = 16, 22 SDK_VERSION_JELLY_BEAN = 16,
22 SDK_VERSION_JELLY_BEAN_MR1 = 17, 23 SDK_VERSION_JELLY_BEAN_MR1 = 17,
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 // This is set via set_java_exception_info, not at constructor time. 137 // This is set via set_java_exception_info, not at constructor time.
137 const char* java_exception_info_; 138 const char* java_exception_info_;
138 139
139 DISALLOW_COPY_AND_ASSIGN(BuildInfo); 140 DISALLOW_COPY_AND_ASSIGN(BuildInfo);
140 }; 141 };
141 142
142 } // namespace android 143 } // namespace android
143 } // namespace base 144 } // namespace base
144 145
145 #endif // BASE_ANDROID_BUILD_INFO_H_ 146 #endif // BASE_ANDROID_BUILD_INFO_H_
OLDNEW
« no previous file with comments | « base/android/base_jni_registrar.cc ('k') | base/android/content_uri_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698