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

Issue 2267653002: Add ExternalStorageReadOnly profile value. (Closed)

Created:
4 years, 4 months ago by yamaguchi
Modified:
4 years, 3 months ago
CC:
chromium-reviews, tnagel+watch_chromium.org, asvitkine+watch_chromium.org, sduraisamy
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add ExternalStorageReadOnly profile value. TEST=policy_test_cases BUG=629945 TBR=isherman@chromium.org Committed: https://crrev.com/36aeef7a0a017f4fbaafba82578a20aaf4bd3e00 Cr-Commit-Position: refs/heads/master@{#413998}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Change description text to be more user-friendly. #

Patch Set 3 : Sync to head. #

Patch Set 4 : Add to policy-to-preference map. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -1 line) Patch
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M components/policy/resources/policy_templates.json View 1 2 2 chunks +16 lines, -1 line 2 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +1 line, -0 lines 2 comments Download

Messages

Total messages: 42 (20 generated)
yamaguchi
PTAL. The change that uses the policy was submitted by: https://codereview.chromium.org/2201023002/patch/190001/200008
4 years, 4 months ago (2016-08-22 07:18:58 UTC) #2
Andrew T Wilson (Slow)
LGTM with a few nits. https://codereview.chromium.org/2267653002/diff/1/components/policy/resources/policy_templates.json File components/policy/resources/policy_templates.json (right): https://codereview.chromium.org/2267653002/diff/1/components/policy/resources/policy_templates.json#newcode5634 components/policy/resources/policy_templates.json:5634: 'caption': '''Limit mounting of ...
4 years, 4 months ago (2016-08-22 13:21:40 UTC) #3
yamaguchi
https://codereview.chromium.org/2267653002/diff/1/components/policy/resources/policy_templates.json File components/policy/resources/policy_templates.json (right): https://codereview.chromium.org/2267653002/diff/1/components/policy/resources/policy_templates.json#newcode5634 components/policy/resources/policy_templates.json:5634: 'caption': '''Limit mounting of external storage to read-only mode.''', ...
4 years, 4 months ago (2016-08-23 02:47:16 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2267653002/20001
4 years, 4 months ago (2016-08-23 02:49:02 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/56542)
4 years, 4 months ago (2016-08-23 02:52:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2267653002/40001
4 years, 4 months ago (2016-08-23 03:02:36 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/243576)
4 years, 4 months ago (2016-08-23 03:09:20 UTC) #14
yamaguchi
+rkaplow for tools/metrics/histograms/histograms.xml
4 years, 4 months ago (2016-08-23 03:24:34 UTC) #16
satorux1
contacted isherman@ as rkaplow@ is now traveling. isherman gave LGTM via chat, but could not ...
4 years, 4 months ago (2016-08-23 22:16:03 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2267653002/40001
4 years, 4 months ago (2016-08-23 23:27:30 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/266302)
4 years, 4 months ago (2016-08-24 01:13:53 UTC) #23
Ilya Sherman
histograms.xml lgtm
4 years, 4 months ago (2016-08-24 01:47:58 UTC) #24
yamaguchi
I added file configuration_policy_handler_list_factory.cc as it's necessary. Would I need LGTM by the owners again? ...
4 years, 4 months ago (2016-08-24 03:22:22 UTC) #27
satorux1
On 2016/08/24 03:22:22, yamaguchi wrote: > I added file configuration_policy_handler_list_factory.cc as it's necessary. > Would ...
4 years, 4 months ago (2016-08-24 03:30:48 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2267653002/60001
4 years, 4 months ago (2016-08-24 05:32:48 UTC) #33
yamaguchi
CQ dry run had error with win_chromium_x64_rel_ng. I am investigating. https://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/267399
4 years, 4 months ago (2016-08-24 05:41:45 UTC) #34
satorux1
On 2016/08/24 05:41:45, yamaguchi wrote: > CQ dry run had error with win_chromium_x64_rel_ng. I am ...
4 years, 4 months ago (2016-08-24 05:54:13 UTC) #35
fukino
On 2016/08/24 05:54:13, satorux1 wrote: > On 2016/08/24 05:41:45, yamaguchi wrote: > > CQ dry ...
4 years, 4 months ago (2016-08-24 06:02:19 UTC) #36
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-24 06:40:07 UTC) #38
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/36aeef7a0a017f4fbaafba82578a20aaf4bd3e00 Cr-Commit-Position: refs/heads/master@{#413998}
4 years, 4 months ago (2016-08-24 06:42:27 UTC) #40
bartfab (slow)
https://codereview.chromium.org/2267653002/diff/60001/components/policy/resources/policy_templates.json File components/policy/resources/policy_templates.json (right): https://codereview.chromium.org/2267653002/diff/60001/components/policy/resources/policy_templates.json#newcode5637 components/policy/resources/policy_templates.json:5637: 'dynamic_refresh': False, Why can we not change this at ...
4 years, 3 months ago (2016-08-29 14:50:40 UTC) #41
yamaguchi
4 years, 3 months ago (2016-08-30 05:35:13 UTC) #42
Message was sent while issue was closed.
https://codereview.chromium.org/2267653002/diff/60001/components/policy/resou...
File components/policy/resources/policy_templates.json (right):

https://codereview.chromium.org/2267653002/diff/60001/components/policy/resou...
components/policy/resources/policy_templates.json:5637: 'dynamic_refresh':
False,
On 2016/08/29 14:50:40, bartfab (slow) wrote:
> Why can we not change this at runtime? We try really hard to support dynamic
> refresh for all policies.

We will do this by the next milestone.
We did not have the exact requirement and behavior specs about the dynamic
refresh for this feature.
Filed crbug.com/642247 .

https://codereview.chromium.org/2267653002/diff/60001/tools/metrics/histogram...
File tools/metrics/histograms/histograms.xml (right):

https://codereview.chromium.org/2267653002/diff/60001/tools/metrics/histogram...
tools/metrics/histograms/histograms.xml:75542: +  <int value="343" label="Mount
external storage only in read-only mode"/>
On 2016/08/29 14:50:40, bartfab (slow) wrote:
> This should match the policy caption in policy_templates.json

Acknowledged.

Powered by Google App Engine
This is Rietveld 408576698