blob: f13f3a1151f2b61bf46040a7fe3c3a59fd58f523 (
plain)
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
31
32
|
// 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.Set;
/**
* Boundary interface for ServiceWorkerWebSettings.
*/
public interface ServiceWorkerWebSettingsBoundaryInterface {
void setCacheMode(int mode);
int getCacheMode();
void setAllowContentAccess(boolean allow);
boolean getAllowContentAccess();
void setAllowFileAccess(boolean allow);
boolean getAllowFileAccess();
void setBlockNetworkLoads(boolean flag);
boolean getBlockNetworkLoads();
void setRequestedWithHeaderOriginAllowList(Set<String> allowedOriginRules);
Set<String> getRequestedWithHeaderOriginAllowList();
}
|