OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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 com.android.webview.chromium.reflection; |
| 6 |
| 7 import org.chromium.android_webview.AwContentsStatics; |
| 8 import org.chromium.base.annotations.UsedByReflection; |
| 9 |
| 10 /** |
| 11 * Entry points for reflection into Android WebView internals for static configu
ration. |
| 12 * |
| 13 * Methods in this class may be removed, but they should not be changed in any i
ncompatible way. |
| 14 * Methods should be removed when we no longer wish to expose the functionality. |
| 15 */ |
| 16 @UsedByReflection("") |
| 17 public class WebViewConfig { |
| 18 @UsedByReflection("") |
| 19 public static void disableSafeBrowsing() { |
| 20 AwContentsStatics.setSafeBrowsingEnabled(false); |
| 21 } |
| 22 } |
OLD | NEW |