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

Issue 844278 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Feature


Sign in to add a comment

Allow enterprises to install web sites automatically

Project Member Reported by benwells@chromium.org, May 18 2018

Issue description

This should be something that can be done by policy, similar to how extensions or chrome apps are installed.

For now this is Chrome OS only but should apply to other platforms when installable web sites roll out there.
 
Labels: -Type-Bug Type-Feature

Comment 2 by ortuno@chromium.org, May 18 2018

The current proposal is to add a new policy which will be a list of URLs that the admin wants to install. Based on this policy, Chrome will create Bookmark Apps.
Project Member

Comment 3 by bugdroid1@chromium.org, Jun 20 2018

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

commit 28740672724f739a390f7abedfd3cbca8bcd1e79
Author: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Date: Wed Jun 20 01:03:01 2018

enterprise: Add WebAppManagement class

This is the first patch to implement a policy to allow admins to
remotely install Web Apps.

Bug: 844278
Change-Id: Ib8ace57ddfbb004db7b612ec0c8501f162ea56ff
Reviewed-on: https://chromium-review.googlesource.com/1075872
Reviewed-by: Ben Wells <benwells@chromium.org>
Reviewed-by: Devlin <rdevlin.cronin@chromium.org>
Reviewed-by: Bernhard Bauer <bauerb@chromium.org>
Reviewed-by: Matt Giuca <mgiuca@chromium.org>
Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#568674}
[modify] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/browser/BUILD.gn
[modify] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/browser/prefs/browser_prefs.cc
[modify] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
[add] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/browser/web_applications/BUILD.gn
[add] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/browser/web_applications/extensions/OWNERS
[add] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/browser/web_applications/extensions/README.md
[add] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/browser/web_applications/extensions/pending_bookmark_app_manager.cc
[add] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/browser/web_applications/extensions/pending_bookmark_app_manager.h
[add] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/browser/web_applications/policy/OWNERS
[add] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/browser/web_applications/policy/web_app_policy_constants.cc
[add] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/browser/web_applications/policy/web_app_policy_constants.h
[add] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/browser/web_applications/policy/web_app_policy_manager.cc
[add] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/browser/web_applications/policy/web_app_policy_manager.h
[add] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/browser/web_applications/policy/web_app_policy_manager_factory.cc
[add] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/browser/web_applications/policy/web_app_policy_manager_factory.h
[add] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/browser/web_applications/policy/web_app_policy_manager_unittest.cc
[modify] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/browser/web_applications/web_app.cc
[modify] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/browser/web_applications/web_app.h
[modify] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/common/pref_names.cc
[modify] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/common/pref_names.h
[modify] https://crrev.com/28740672724f739a390f7abedfd3cbca8bcd1e79/chrome/test/BUILD.gn

Project Member

Comment 4 by bugdroid1@chromium.org, Aug 7

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

commit 11beac027ad300dc262c61ec144d611be818b715
Author: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Date: Tue Aug 07 08:23:17 2018

desktop-pwas: Add shortcuts even if there is no browser window

Some clients like Default Apps and Policy Apps install apps without
a Browser window. Some steps can be skipped for these clients, like
sending the install event to the page, but other are needed for
example creating shortcuts.

Changes BookmarkAppHelper to not return early if there is no Browser
window but still skip some unnecessary steps.

Bug: 844278

Change-Id: I24003ff51d47937dc349aafca67912224db1eab2
Reviewed-on: https://chromium-review.googlesource.com/1164160
Reviewed-by: Dominick Ng <dominickn@chromium.org>
Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#581165}
[modify] https://crrev.com/11beac027ad300dc262c61ec144d611be818b715/chrome/browser/extensions/bookmark_app_helper.cc
[modify] https://crrev.com/11beac027ad300dc262c61ec144d611be818b715/chrome/browser/web_applications/extensions/web_app_extension_shortcut.cc

Project Member

Comment 5 by bugdroid1@chromium.org, Aug 16

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

commit c5512fa4418470e61efabcb3aeab9b8e6e991859
Author: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Date: Thu Aug 16 04:57:56 2018

policy: Delay policy app installations until after startup

Use PostAfterStartupTask() to delay installation of policy apps until
after startup.

Bug: 844278
Change-Id: Ic7634f19f79eb2b009ccd31c0735ce8f10f06fee
Reviewed-on: https://chromium-review.googlesource.com/1177089
Reviewed-by: Dominick Ng <dominickn@chromium.org>
Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#583539}
[modify] https://crrev.com/c5512fa4418470e61efabcb3aeab9b8e6e991859/chrome/browser/web_applications/bookmark_apps/policy/web_app_policy_manager.cc
[modify] https://crrev.com/c5512fa4418470e61efabcb3aeab9b8e6e991859/chrome/browser/web_applications/bookmark_apps/policy/web_app_policy_manager.h
[modify] https://crrev.com/c5512fa4418470e61efabcb3aeab9b8e6e991859/chrome/browser/web_applications/bookmark_apps/policy/web_app_policy_manager_unittest.cc

Project Member

Comment 6 by bugdroid1@chromium.org, Aug 23

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

commit 77b5bf78c980408b2bdedb7d7f6512cb11e87859
Author: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Date: Thu Aug 23 06:43:29 2018

desktop-pwas: Add policy to install Web Apps

Adds a new policy that allows admins to install apps based on a
provided URL and a launch container. The URL will be loaded in the
background and a Bookmark App will be created based on the loaded
content.

Bug: 844278


Change-Id: I2ff89f7b39051de637bacab92286c9bdda69fdbf
Reviewed-on: https://chromium-review.googlesource.com/1107026
Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Reviewed-by: Dominick Ng <dominickn@chromium.org>
Reviewed-by: Pavol Marko <pmarko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#585414}
[modify] https://crrev.com/77b5bf78c980408b2bdedb7d7f6512cb11e87859/chrome/browser/policy/configuration_policy_handler_list_factory.cc
[modify] https://crrev.com/77b5bf78c980408b2bdedb7d7f6512cb11e87859/chrome/browser/policy/policy_browsertest.cc
[modify] https://crrev.com/77b5bf78c980408b2bdedb7d7f6512cb11e87859/chrome/browser/web_applications/bookmark_apps/policy/web_app_policy_manager.cc
[modify] https://crrev.com/77b5bf78c980408b2bdedb7d7f6512cb11e87859/chrome/browser/web_applications/bookmark_apps/policy/web_app_policy_manager.h
[modify] https://crrev.com/77b5bf78c980408b2bdedb7d7f6512cb11e87859/chrome/browser/web_applications/web_app_provider.cc
[modify] https://crrev.com/77b5bf78c980408b2bdedb7d7f6512cb11e87859/chrome/test/data/policy/policy_test_cases.json
[modify] https://crrev.com/77b5bf78c980408b2bdedb7d7f6512cb11e87859/components/policy/resources/policy_templates.json
[modify] https://crrev.com/77b5bf78c980408b2bdedb7d7f6512cb11e87859/tools/metrics/histograms/enums.xml

Project Member

Comment 7 by bugdroid1@chromium.org, Aug 27

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

commit c06438a0e1abbb36bfa5f420cfad7b1fefb4e984
Author: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Date: Mon Aug 27 23:32:54 2018

policy: Update policy installed apps when the policy changes

Adds a PrefChangeRegistrar to WebAppPolicyManager that listens for
changes to the policy. This way the policy-installed apps will update
whenever the preference changes and not only during startup.

Bug: 844278
Change-Id: I598dd72b1c7d99df18d3b337f09bbeab0b80cdb9
Reviewed-on: https://chromium-review.googlesource.com/1189265
Reviewed-by: Dominick Ng <dominickn@chromium.org>
Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#586489}
[modify] https://crrev.com/c06438a0e1abbb36bfa5f420cfad7b1fefb4e984/chrome/browser/web_applications/bookmark_apps/policy/web_app_policy_manager.cc
[modify] https://crrev.com/c06438a0e1abbb36bfa5f420cfad7b1fefb4e984/chrome/browser/web_applications/bookmark_apps/policy/web_app_policy_manager.h
[modify] https://crrev.com/c06438a0e1abbb36bfa5f420cfad7b1fefb4e984/chrome/browser/web_applications/bookmark_apps/policy/web_app_policy_manager_unittest.cc

Blockedon: 880124
Blockedon: 880125
Blockedon: 880126
Blockedon: 880131
Blockedon: 880133
Blockedon: 878797

Sign in to add a comment