1 // Copyright 2018 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 package org.chromium.chrome.browser.vr.rules;
6 
7 /**
8  * Interface to be implemented by *VrTestRule rules, which allows them to be
9  * conditionally skipped when used in conjunction with XrActivityRestrictionRule and properly set/
10  * clean up the fake head pose tracker.
11  */
12 public interface VrTestRule extends XrTestRule {
13     /**
14      * Whether the currently applied settings result in the DON flow being enabled.
15      * @return True if the DON flow is enabled, false otherwise.
16      */
isDonEnabled()17     public boolean isDonEnabled();
18 }
19