ProxyControllerBoundaryInterface.java

// Copyright 2018 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.support_lib_boundary;

import java.util.concurrent.Executor;

/** Boundary interface for ProxyController. */
public interface ProxyControllerBoundaryInterface {
    void setProxyOverride(
            String[][] proxyRules, String[] bypassRules, Runnable listener, Executor executor);

    void setProxyOverride(
            String[][] proxyRules,
            String[] bypassRules,
            Runnable listener,
            Executor executor,
            boolean reverseBypass);

    void clearProxyOverride(Runnable listener, Executor executor);
}