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

Issue 10697097: Add a policy to disable mounting of external storage. (Closed)

Created:
8 years, 5 months ago by pastarmovj
Modified:
8 years, 5 months ago
Reviewers:
cyrusm, zel, Mattias Nissler (ping if slow)
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, nkostylev+watch_chromium.org, Nirnimesh, dyu1, Aaron Boodman, rginda+watch_chromium.org, anantha, oshima+watch_chromium.org, dennis_jeffrey, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Add a policy to disable mounting of external storage. BUG=chromium-os:32338 TEST=unit tests. Manual testing can be done by setting the new policy in a DM server to true and verifying that external storage is not mount and shown in the file manager in Chrome. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148065

Patch Set 1 : . #

Total comments: 18

Patch Set 2 : Addressed comments. #

Total comments: 5

Patch Set 3 : Addressed comments. #

Total comments: 1

Patch Set 4 : Fixed the nit #

Patch Set 5 : Rebased to ToT. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -7 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/app/policy/policy_templates.json View 1 2 3 4 2 chunks +17 lines, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/file_browser_event_router.cc View 1 2 3 4 5 chunks +40 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/preferences.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/functional/policy_test_cases.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
pastarmovj
Hi guys, this is my proposed solution for a policy controlling external media. It will ...
8 years, 5 months ago (2012-07-06 14:27:27 UTC) #1
Mattias Nissler (ping if slow)
http://codereview.chromium.org/10697097/diff/2001/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): http://codereview.chromium.org/10697097/diff/2001/chrome/app/policy/policy_templates.json#newcode2767 chrome/app/policy/policy_templates.json:2767: This policy affects all types of storage media. For ...
8 years, 5 months ago (2012-07-09 09:43:01 UTC) #2
pastarmovj
Thanks for reviewing this one! PTAL. http://codereview.chromium.org/10697097/diff/2001/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): http://codereview.chromium.org/10697097/diff/2001/chrome/app/policy/policy_templates.json#newcode2767 chrome/app/policy/policy_templates.json:2767: This policy affects ...
8 years, 5 months ago (2012-07-11 01:13:56 UTC) #3
Mattias Nissler (ping if slow)
Cyrus, please take a look at the first comment and let us know whether the ...
8 years, 5 months ago (2012-07-11 09:48:12 UTC) #4
cyrusm_google.com
LGTM On Wed, Jul 11, 2012 at 5:48 AM, <mnissler@chromium.org> wrote: > Cyrus, please take ...
8 years, 5 months ago (2012-07-11 18:33:18 UTC) #5
pastarmovj
@Mattias: PTAL. :) @Zel: Ping? http://codereview.chromium.org/10697097/diff/2002/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): http://codereview.chromium.org/10697097/diff/2002/chrome/app/policy/policy_templates.json#newcode2767 chrome/app/policy/policy_templates.json:2767: This policy affects all ...
8 years, 5 months ago (2012-07-13 15:06:06 UTC) #6
zel
lgtm
8 years, 5 months ago (2012-07-16 20:11:39 UTC) #7
Mattias Nissler (ping if slow)
LGTM w/ a nit http://codereview.chromium.org/10697097/diff/1012/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): http://codereview.chromium.org/10697097/diff/1012/chrome/app/policy/policy_templates.json#newcode2767 chrome/app/policy/policy_templates.json:2767: This policy affects all types ...
8 years, 5 months ago (2012-07-17 08:26:30 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pastarmovj@chromium.org/10697097/20001
8 years, 5 months ago (2012-07-24 06:20:32 UTC) #9
commit-bot: I haz the power
Failed to apply patch for chrome/app/policy/policy_templates.json: While running patch -p1 --forward --force; patching file chrome/app/policy/policy_templates.json ...
8 years, 5 months ago (2012-07-24 06:20:34 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pastarmovj@chromium.org/10697097/24001
8 years, 5 months ago (2012-07-24 07:19:44 UTC) #11
commit-bot: I haz the power
8 years, 5 months ago (2012-07-24 08:46:15 UTC) #12
Change committed as 148065

Powered by Google App Engine
This is Rietveld 408576698