summaryrefslogtreecommitdiff
path: root/src/org/chromium/support_lib_boundary/ProxyControllerBoundaryInterface.java
blob: ff9ed8c21719fc5fd2750cb32e7f3380789faef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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);
}