New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 604330 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Aug 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Feature

Blocked on:
issue 634358



Sign in to add a comment

Implement Web Restrictions in WebView

Project Member Reported by aber...@chromium.org, Apr 18 2016

Issue description

Let WebView ask a content provider (the name of which is set by a
WebView policy) whether a CL should be accessible.

This is needed:
1 - To support Supervised Users in WebView. In this scenario WebView reads the restrictions from Chrome.
2 - To support Enterprise restrictions on URL access in Chrome and WebView. In this scenario the content provider is provided by a third app.
 
Labels: -Type-Bug OS-Android Type-Feature
Owner: aber...@chromium.org
Status: Started (was: Untriaged)

Comment 2 by sgu...@chromium.org, Jul 12 2016

Components: Mobile>WebView
Blockedon: 634358
Project Member

Comment 4 by bugdroid1@chromium.org, Aug 18 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55

commit a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55
Author: aberent <aberent@chromium.org>
Date: Thu Aug 18 10:46:11 2016

Implement Web Restrictions in WebView.

This CL:
- Lets WebView ask a content provider (the name of which is set by a
WebView policy) whether a URL should be accessible.
- Implements an error page when a URL is not accessible, that, if it
is supported by the content provider, lets the user request access
- Makes some fixes to the supervised user content provider so that
this works with WebView.

BUG= 604330 

Review-Url: https://codereview.chromium.org/1890203002
Cr-Commit-Position: refs/heads/master@{#412791}

[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/android_webview/BUILD.gn
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/android_webview/DEPS
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/android_webview/android_webview.gyp
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/android_webview/browser/DEPS
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/android_webview/browser/aw_browser_context.cc
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/android_webview/browser/aw_browser_context.h
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/android_webview/browser/aw_browser_policy_connector.cc
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/android_webview/browser/renderer_host/aw_render_view_host_ext.cc
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/android_webview/browser/renderer_host/aw_render_view_host_ext.h
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/android_webview/renderer/DEPS
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/android_webview/renderer/aw_content_renderer_client.cc
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/android_webview/renderer/aw_content_renderer_client.h
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/android_webview/webview_repack_locales.gni
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/chrome/android/java/src/org/chromium/chrome/browser/superviseduser/SupervisedUserContentProvider.java
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/chrome/android/javatests/src/org/chromium/chrome/browser/superviseduser/SupervisedUserContentProviderTest.java
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/chrome/android/junit/src/org/chromium/chrome/browser/superviseduser/SupervisedUserContentProviderUnitTest.java
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/chrome/browser/supervised_user/supervised_user_interstitial.cc
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/chrome/chrome.gyp
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/chrome/test/data/policy/policy_test_cases.json
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/components_tests.gyp
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/policy/resources/policy_templates.json
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/supervised_user_error_page.gypi
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/supervised_user_error_page/BUILD.gn
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/supervised_user_error_page/DEPS
[add] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/supervised_user_error_page/gin_wrapper.cc
[add] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/supervised_user_error_page/gin_wrapper.h
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/supervised_user_error_page/resources/supervised_user_block_interstitial.js
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/supervised_user_error_page/supervised_user_error_page.cc
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/supervised_user_error_page/supervised_user_error_page.h
[add] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/supervised_user_error_page/supervised_user_error_page_android.cc
[add] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/supervised_user_error_page/supervised_user_error_page_android.h
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/supervised_user_error_page/supervised_user_error_page_unittest.cc
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions.gypi
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions/BUILD.gn
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions/browser/DEPS
[rename] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions/browser/java/src/org/chromium/components/webrestrictions/browser/WebRestrictionsClient.java
[add] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions/browser/java/src/org/chromium/components/webrestrictions/browser/WebRestrictionsClientResult.java
[rename] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions/browser/java/src/org/chromium/components/webrestrictions/browser/WebRestrictionsContentProvider.java
[rename] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions/browser/javatest/src/org/chromium/components/webrestrictions/browser/MockWebRestrictionsClient.java
[rename] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions/browser/junit/src/org/chromium/components/webrestrictions/browser/WebRestrictionsClientTest.java
[rename] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions/browser/junit/src/org/chromium/components/webrestrictions/browser/WebRestrictionsContentProviderTest.java
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions/browser/web_restrictions_client.cc
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions/browser/web_restrictions_client.h
[add] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions/browser/web_restrictions_client_result.cc
[add] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions/browser/web_restrictions_client_result.h
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions/browser/web_restrictions_client_unittest.cc
[add] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions/browser/web_restrictions_mojo_implementation.cc
[add] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions/browser/web_restrictions_mojo_implementation.h
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions/browser/web_restrictions_resource_throttle.cc
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions/browser/web_restrictions_resource_throttle_unittest.cc
[add] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions/interfaces/OWNERS
[add] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/components/web_restrictions/interfaces/web_restrictions.mojom
[delete] https://crrev.com/02aff45fcb89e6b0ca15bba1ed730028e370be1b/components/web_restrictions/renderer/DEPS
[delete] https://crrev.com/02aff45fcb89e6b0ca15bba1ed730028e370be1b/components/web_restrictions/renderer/web_restrictions_gin_wrapper.cc
[delete] https://crrev.com/02aff45fcb89e6b0ca15bba1ed730028e370be1b/components/web_restrictions/renderer/web_restrictions_gin_wrapper.h
[modify] https://crrev.com/a7f273b27fd4f7ec3d809c83b4fb53b0f3167c55/tools/metrics/histograms/histograms.xml

Status: Fixed (was: Started)

Sign in to add a comment