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

Side by Side Diff: base/android/library_loader/library_load_from_apk_status_codes.h

Issue 663543003: Fix low-memory devices crashing on Chrome start up during UMA recodring (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplify Java-C++ enum sharing and fix WebView dependency Created 6 years, 2 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
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef BASE_ANDROID_LIBRARY_LOAD_FROM_APK_STATUS_CODES_H_
6 #define BASE_ANDROID_LIBRARY_LOAD_FROM_APK_STATUS_CODES_H_
7
8 namespace base {
9 namespace android {
10
11 namespace {
12
13 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.base.library_loader
14 enum LibraryLoadFromApkStatusCodes {
15 // The loader was unable to determine whether the functionality is supported.
16 LIBRARY_LOAD_FROM_APK_STATUS_CODES_UNKNOWN = 0,
mkosiba (inactive) 2014/10/24 14:17:26 FYI: you don't need to explicitly assign the value
petrcermak 2014/10/24 16:42:49 Acknowledged (I kept the explicit numbering to mak
17
18 // The device does not support loading a library directly from the APK file.
19 LIBRARY_LOAD_FROM_APK_STATUS_CODES_NOT_SUPPORTED = 1,
20
21 // The device supports loading a library directly from the APK file.
22 LIBRARY_LOAD_FROM_APK_STATUS_CODES_SUPPORTED = 2,
23
24 // A library was successfully loaded directly from the APK file.
25 LIBRARY_LOAD_FROM_APK_STATUS_CODES_SUCCESSFUL = 3,
26
27 // End sentinel.
28 LIBRARY_LOAD_FROM_APK_STATUS_CODES_MAX = 4,
29 };
30
31 } // namespace
32
33 } // namespace android
34 } // namespace base
35
36 #endif // BASE_ANDROID_LIBRARY_LOAD_FROM_APK_STATUS_CODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698