Commit 0cc9f960 authored by Torne (Richard Coles)'s avatar Torne (Richard Coles) Committed by Commit Bot

webview: Move AwFeatures to the common package.

Move AwFeatures to org.chromium.android_webview.common to match
AwSwitches and allow it to be used from ProductionSupportedFlagList.

Change-Id: I5e8a1a4c584ef041be6b3903f6200ed9cb41edd0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2229585
Commit-Queue: Richard Coles <torne@chromium.org>
Commit-Queue: Nate Fischer <ntfschr@chromium.org>
Auto-Submit: Richard Coles <torne@chromium.org>
Reviewed-by: default avatarNate Fischer <ntfschr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#774862}
parent 20f4844c
...@@ -402,7 +402,6 @@ android_library("browser_java") { ...@@ -402,7 +402,6 @@ android_library("browser_java") {
"java/src/org/chromium/android_webview/AwDebug.java", "java/src/org/chromium/android_webview/AwDebug.java",
"java/src/org/chromium/android_webview/AwDevToolsServer.java", "java/src/org/chromium/android_webview/AwDevToolsServer.java",
"java/src/org/chromium/android_webview/AwFeatureList.java", "java/src/org/chromium/android_webview/AwFeatureList.java",
"java/src/org/chromium/android_webview/AwFeatures.java",
"java/src/org/chromium/android_webview/AwFormDatabase.java", "java/src/org/chromium/android_webview/AwFormDatabase.java",
"java/src/org/chromium/android_webview/AwGeolocationPermissions.java", "java/src/org/chromium/android_webview/AwGeolocationPermissions.java",
"java/src/org/chromium/android_webview/AwHistogramRecorder.java", "java/src/org/chromium/android_webview/AwHistogramRecorder.java",
...@@ -584,6 +583,7 @@ android_library("common_crash_java") { ...@@ -584,6 +583,7 @@ android_library("common_crash_java") {
android_library("common_java") { android_library("common_java") {
sources = [ sources = [
"java/src/org/chromium/android_webview/common/AwFeatures.java",
"java/src/org/chromium/android_webview/common/AwResource.java", "java/src/org/chromium/android_webview/common/AwResource.java",
"java/src/org/chromium/android_webview/common/AwSwitches.java", "java/src/org/chromium/android_webview/common/AwSwitches.java",
"java/src/org/chromium/android_webview/common/CommandLineUtil.java", "java/src/org/chromium/android_webview/common/CommandLineUtil.java",
......
...@@ -24,7 +24,6 @@ import org.chromium.android_webview.AwContents; ...@@ -24,7 +24,6 @@ import org.chromium.android_webview.AwContents;
import org.chromium.android_webview.AwContentsStatics; import org.chromium.android_webview.AwContentsStatics;
import org.chromium.android_webview.AwCookieManager; import org.chromium.android_webview.AwCookieManager;
import org.chromium.android_webview.AwFeatureList; import org.chromium.android_webview.AwFeatureList;
import org.chromium.android_webview.AwFeatures;
import org.chromium.android_webview.AwLocaleConfig; import org.chromium.android_webview.AwLocaleConfig;
import org.chromium.android_webview.AwNetworkChangeNotifierRegistrationPolicy; import org.chromium.android_webview.AwNetworkChangeNotifierRegistrationPolicy;
import org.chromium.android_webview.AwProxyController; import org.chromium.android_webview.AwProxyController;
...@@ -35,6 +34,7 @@ import org.chromium.android_webview.ProductConfig; ...@@ -35,6 +34,7 @@ import org.chromium.android_webview.ProductConfig;
import org.chromium.android_webview.R; import org.chromium.android_webview.R;
import org.chromium.android_webview.VariationsSeedLoader; import org.chromium.android_webview.VariationsSeedLoader;
import org.chromium.android_webview.WebViewChromiumRunQueue; import org.chromium.android_webview.WebViewChromiumRunQueue;
import org.chromium.android_webview.common.AwFeatures;
import org.chromium.android_webview.common.AwResource; import org.chromium.android_webview.common.AwResource;
import org.chromium.android_webview.common.AwSwitches; import org.chromium.android_webview.common.AwSwitches;
import org.chromium.android_webview.gfx.AwDrawFnImpl; import org.chromium.android_webview.gfx.AwDrawFnImpl;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
package org.chromium.android_webview; package org.chromium.android_webview.common;
/** /**
* Constants for the names of WebView Features. * Constants for the names of WebView Features.
......
...@@ -61,7 +61,7 @@ public final class ProductionSupportedFlagList { ...@@ -61,7 +61,7 @@ public final class ProductionSupportedFlagList {
+ "rendering engine)."), + "rendering engine)."),
Flag.baseFeature("EnableSharedImageForWebview", "Enables shared images for WebView."), Flag.baseFeature("EnableSharedImageForWebview", "Enables shared images for WebView."),
Flag.baseFeature("VizForWebView", "Enables Viz for WebView."), Flag.baseFeature("VizForWebView", "Enables Viz for WebView."),
Flag.baseFeature("WebViewConnectionlessSafeBrowsing", Flag.baseFeature(AwFeatures.WEBVIEW_CONNECTIONLESS_SAFE_BROWSING,
"Uses GooglePlayService's 'connectionless' APIs for Safe Browsing " "Uses GooglePlayService's 'connectionless' APIs for Safe Browsing "
+ "security checks."), + "security checks."),
Flag.baseFeature( Flag.baseFeature(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment