1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
content / public / android / java / src / org / chromium / content_public / common / IsolatedWorldIds.java [blame]
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.content_public.common;
import androidx.annotation.IntDef;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* The Java copy of //content/public/common/isolated_world_ids.h
* See there for definitions of each ID.
*
* Both files must be kept in sync.
*/
// LINT.IfChange
@IntDef({
IsolatedWorldIds.ISOLATED_WORLD_ID_GLOBAL,
IsolatedWorldIds.ISOLATED_WORLD_ID_CONTENT_END,
IsolatedWorldIds.ISOLATED_WORLD_ID_MAX
})
@Retention(RetentionPolicy.SOURCE)
public @interface IsolatedWorldIds {
int ISOLATED_WORLD_ID_GLOBAL = 0;
int ISOLATED_WORLD_ID_CONTENT_END = 1;
int ISOLATED_WORLD_ID_MAX = ISOLATED_WORLD_ID_CONTENT_END + 10;
}
// LINT.ThenChange(//content/public/common/isolated_world_ids.h)