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.support_lib_boundary; 6 7 import android.content.Context; 8 import android.net.Uri; 9 import android.webkit.ValueCallback; 10 11 import java.util.List; 12 13 /** 14 * Boundary interface for WebViewFactoryProvider.Statics. 15 */ 16 public interface StaticsBoundaryInterface { 17 void initSafeBrowsing(Context context, ValueCallback<Boolean> callback); 18 void setSafeBrowsingWhitelist(List<String> hosts, ValueCallback<Boolean> callback); 19 Uri getSafeBrowsingPrivacyPolicyUrl(); 20 } 21