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

Issue 1032313002: Add a notification about auto-granted access to file systems. (Closed)

Created:
5 years, 9 months ago by mtomasz
Modified:
5 years, 8 months ago
Reviewers:
jww, benwells
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org, kinuko+fileapi, nhiroki, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a notification about auto-granted access to file systems. For auto-launched kiosk apps permissions are granted automatically, without a user consent. In such case a notification will be shown though. TEST=unit_tests: *FileSystemApiConsentProviderTest* BUG=440674 Committed: https://crrev.com/232bdea945b40f2db4ae674f870cd8ce9f32075d Cr-Commit-Position: refs/heads/master@{#324169}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fixed the string. #

Total comments: 1

Patch Set 3 : Rebased. #

Patch Set 4 : Strings committed separately. Rebased. #

Total comments: 6

Patch Set 5 : Fixed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -17 lines) Patch
M chrome/browser/extensions/api/file_system/file_system_api.h View 1 2 3 4 4 chunks +13 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/file_system/file_system_api.cc View 1 2 3 4 5 chunks +23 lines, -11 lines 0 comments Download
M chrome/browser/extensions/api/file_system/file_system_api_unittest.cc View 1 2 8 chunks +15 lines, -2 lines 0 comments Download
A chrome/browser/extensions/api/file_system/request_file_system_notification.h View 1 2 3 4 1 chunk +65 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/file_system/request_file_system_notification.cc View 1 2 3 4 1 chunk +122 lines, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
mtomasz
@benwells: PTAL. @jww: PTAL at the approach. Thanks.
5 years, 9 months ago (2015-03-26 10:54:46 UTC) #2
jww
A couple of questions, but generally looks right from a security perspective. https://codereview.chromium.org/1032313002/diff/1/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp ...
5 years, 9 months ago (2015-03-26 20:14:59 UTC) #3
mtomasz
https://codereview.chromium.org/1032313002/diff/1/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/1032313002/diff/1/chrome/app/chromeos_strings.grdp#newcode6142 chrome/app/chromeos_strings.grdp:6142: Full access to <ph name="VOLUME_NAME">$1<ex>FooBar 4GB</ex> has been granted.</ph> ...
5 years, 9 months ago (2015-03-26 23:24:11 UTC) #4
mtomasz
https://codereview.chromium.org/1032313002/diff/1/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/1032313002/diff/1/chrome/app/chromeos_strings.grdp#newcode6142 chrome/app/chromeos_strings.grdp:6142: Full access to <ph name="VOLUME_NAME">$1<ex>FooBar 4GB</ex> has been granted.</ph> ...
5 years, 9 months ago (2015-03-27 05:01:38 UTC) #5
jww
This lgtm from a security review perspective. https://codereview.chromium.org/1032313002/diff/1/chrome/browser/extensions/api/file_system/file_system_api.cc File chrome/browser/extensions/api/file_system/file_system_api.cc (right): https://codereview.chromium.org/1032313002/diff/1/chrome/browser/extensions/api/file_system/file_system_api.cc#newcode322 chrome/browser/extensions/api/file_system/file_system_api.cc:322: } else ...
5 years, 9 months ago (2015-03-27 15:59:12 UTC) #6
benwells
FYI, as this change depends on the one that introduces ConsentProvider I'll review once that ...
5 years, 8 months ago (2015-03-30 01:40:15 UTC) #7
benwells
On 2015/03/30 01:40:15, benwells wrote: > FYI, as this change depends on the one that ...
5 years, 8 months ago (2015-04-01 22:35:20 UTC) #8
mtomasz
@benwells: Rebased and ready to review. PTAL. Thanks.
5 years, 8 months ago (2015-04-02 10:12:55 UTC) #9
mtomasz
On 2015/04/02 10:12:55, mtomasz wrote: > @benwells: Rebased and ready to review. PTAL. Thanks. @benwells: ...
5 years, 8 months ago (2015-04-06 06:17:42 UTC) #10
benwells
lgtm with some nits. https://codereview.chromium.org/1032313002/diff/60001/chrome/browser/extensions/api/file_system/file_system_api.cc File chrome/browser/extensions/api/file_system/file_system_api.cc (right): https://codereview.chromium.org/1032313002/diff/60001/chrome/browser/extensions/api/file_system/file_system_api.cc#newcode304 chrome/browser/extensions/api/file_system/file_system_api.cc:304: // If a whitelisted component, ...
5 years, 8 months ago (2015-04-07 08:31:33 UTC) #11
mtomasz
https://codereview.chromium.org/1032313002/diff/60001/chrome/browser/extensions/api/file_system/file_system_api.cc File chrome/browser/extensions/api/file_system/file_system_api.cc (right): https://codereview.chromium.org/1032313002/diff/60001/chrome/browser/extensions/api/file_system/file_system_api.cc#newcode304 chrome/browser/extensions/api/file_system/file_system_api.cc:304: // If a whitelisted component, then no need to ...
5 years, 8 months ago (2015-04-08 00:30:46 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1032313002/80001
5 years, 8 months ago (2015-04-08 00:31:06 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 8 months ago (2015-04-08 01:22:25 UTC) #16
commit-bot: I haz the power
5 years, 8 months ago (2015-04-08 01:23:21 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/232bdea945b40f2db4ae674f870cd8ce9f32075d
Cr-Commit-Position: refs/heads/master@{#324169}

Powered by Google App Engine
This is Rietveld 408576698