Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Side by Side Diff: android_webview/glue/java/src/com/android/webview/chromium/reflection/WebViewConfig.java

Issue 2760543002: Add a new class as an entry-point for Java reflection (Closed)
Patch Set: Moving to a new package and updating the class comment Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « android_webview/glue/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « android_webview/glue/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698