diff options
author | Mohannad Farrag <aymanm@google.com> | 2024-05-01 10:32:19 +0000 |
---|---|---|
committer | Mohannad Farrag <aymanm@google.com> | 2024-05-01 10:43:17 +0000 |
commit | b2aa3b0e4a0cf2877bbc01e725045e28e0130564 (patch) | |
tree | e4af33cd10eb50631b24db09e3c443952cdb72c2 | |
parent | 3a9002473ddf7272df6f9c53bc83544873ebb5b3 (diff) | |
download | cronet-b2aa3b0e4a0cf2877bbc01e725045e28e0130564.tar.gz |
Remove net/url_request/FailurePhase.java
This file was created manually during the first import process because
gn2bp did not support java_cpp_enum actions back then. This is now
supported in gn2bp, hence we don't need this file anymore.
See https://cs.android.com/android/platform/superproject/main/+/main:external/cronet/android/tools/gn2bp/gen_android_bp;l=1356?q=gn2bp&ss=android%2Fplatform%2Fsuperproject%2Fmain
for java_cpp_enum support.
Bug: 304217500
Change-Id: Ie37531fe0f7ca6850bc51b38a7dc90b9d844fc67
-rw-r--r-- | net/url_request/FailurePhase.java | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/net/url_request/FailurePhase.java b/net/url_request/FailurePhase.java deleted file mode 100644 index 00a9ec288..000000000 --- a/net/url_request/FailurePhase.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2023 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// This file is autogenerated by -// java_cpp_enum.py -// From -// ../../net/test/url_request/url_request_failed_job.h - -// TODO(b/275689380) -// genandroidbp does not correctly handle this yet as it is not a separate target in BUID.gn, -// so manually adding it here till that is fixed. - -package org.chromium.net.test; - -import androidx.annotation.IntDef; - -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; - -@IntDef({ - FailurePhase.START, FailurePhase.READ_SYNC, FailurePhase.READ_ASYNC, - FailurePhase.MAX_FAILURE_PHASE -}) -@Retention(RetentionPolicy.SOURCE) -public @interface FailurePhase { - int START = 0; - int READ_SYNC = 1; - int READ_ASYNC = 2; - int MAX_FAILURE_PHASE = 3; -} |