diff options
Diffstat (limited to 'base/android/child_process_binding_types.h')
-rw-r--r-- | base/android/child_process_binding_types.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/base/android/child_process_binding_types.h b/base/android/child_process_binding_types.h new file mode 100644 index 0000000000..a3900d5e81 --- /dev/null +++ b/base/android/child_process_binding_types.h @@ -0,0 +1,25 @@ +// Copyright 2018 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef BASE_ANDROID_CHILD_PROCESS_BINDING_TYPES_H_ +#define BASE_ANDROID_CHILD_PROCESS_BINDING_TYPES_H_ + +namespace base { +namespace android { + +// Defines the state of bindgings with child process. See ChildProcessConnection +// to see what the bindings are. Note these values are used as array indices. +// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.base +enum class ChildBindingState { + UNBOUND, + WAIVED, + MODERATE, + STRONG, + MAX_VALUE = STRONG +}; + +} // namespace android +} // namespace base + +#endif // BASE_ANDROID_CHILD_PROCESS_BINDING_TYPES_H_ |