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

Issue 1029803004: Add chrome.fileSystem.GetVolumeList(). (Closed)

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

Description

Add chrome.fileSystem.GetVolumeList(). This CL adds a method to list available volumes. It's available only to kiosk apps running in kiosk session and to some whitelited component apps/extensions. TBR=fukino@chromium.org # chrome_extensions.js reviewed at cr/90486340. TEST=browser_tests: *KioskTest*GetVolumeList*, *FileSystemApiTestForRequestFileSystem*GetVolumeList* BUG=440674 Committed: https://crrev.com/8950a1dd2458b1fb0c34a60d2217a64561b47b19 Cr-Commit-Position: refs/heads/master@{#324040}

Patch Set 1 #

Patch Set 2 : Rebased. #

Patch Set 3 : Rebased. #

Total comments: 6

Patch Set 4 : Fixed IDL moved delegate from member to function body. #

Patch Set 5 : Fixed chrome_extensions.js. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+372 lines, -96 lines) Patch
M chrome/browser/chromeos/login/kiosk_browsertest.cc View 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/file_system/file_system_api.h View 1 2 3 5 chunks +64 lines, -23 lines 0 comments Download
M chrome/browser/extensions/api/file_system/file_system_api.cc View 1 2 3 6 chunks +117 lines, -59 lines 0 comments Download
M chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc View 1 2 chunks +16 lines, -2 lines 0 comments Download
M chrome/common/extensions/api/file_system.idl View 1 2 3 4 chunks +16 lines, -3 lines 0 comments Download
M chrome/renderer/resources/extensions/file_system_custom_bindings.js View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/test/data/chromeos/app_mode/get_volume_list/key.pem View 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/test/data/chromeos/app_mode/get_volume_list/src/background.js View 1 chunk +15 lines, -0 lines 0 comments Download
A + chrome/test/data/chromeos/app_mode/get_volume_list/src/manifest.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
A chrome/test/data/chromeos/app_mode/webstore/downloads/aaedpojejpghjkedenggihopfhfijcko.crx View Binary file 0 comments Download
A + chrome/test/data/chromeos/app_mode/webstore/downloads/aaedpojejpghjkedenggihopfhfijcko.crx.mock-http-headers View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/chromeos/app_mode/webstore/inlineinstall/detail/aaedpojejpghjkedenggihopfhfijcko View 1 chunk +11 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/file_system/get_volume_list/background.js View 1 chunk +26 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/api_test/file_system/get_volume_list/manifest.json View 1 chunk +2 lines, -2 lines 0 comments Download
A + chrome/test/data/extensions/api_test/file_system/get_volume_list_not_kiosk_session/background.js View 1 1 chunk +7 lines, -5 lines 0 comments Download
A chrome/test/data/extensions/api_test/file_system/get_volume_list_not_kiosk_session/manifest.json View 1 chunk +15 lines, -0 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/closure_compiler/externs/chrome_extensions.js View 1 2 3 4 2 chunks +24 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
mtomasz
@xiyuan, @benwells, @isherman: PTAL as below. Thanks. xiyuan: chrome/browser/chromeos/login/kiosk_browsertest.cc and related files to that test ...
5 years, 9 months ago (2015-03-25 09:00:35 UTC) #2
xiyuan
kiosk_browsertest.cc and kiosk test files LGTM
5 years, 9 months ago (2015-03-25 16:49:30 UTC) #3
Ilya Sherman
histograms.xml lgtm
5 years, 9 months ago (2015-03-25 20:33:59 UTC) #4
mtomasz
@benwells: Ready to review. PTAL. Thanks.
5 years, 8 months ago (2015-04-02 08:37:09 UTC) #5
benwells
lgtm with nits. https://codereview.chromium.org/1029803004/diff/40001/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/1029803004/diff/40001/chrome/browser/extensions/api/file_system/file_system_api.cc#newcode1386 chrome/browser/extensions/api/file_system/file_system_api.cc:1386: // Additionally whitelisted component extensions and ...
5 years, 8 months ago (2015-04-07 05:43:14 UTC) #6
mtomasz
I moved the delegate to function body, as ChromeDetails::GetProfile() is NULL at the moment of ...
5 years, 8 months ago (2015-04-07 07:35:35 UTC) #7
mtomasz
@fukino: TBR. PTAL at chrome_extensions.js. It's reviewed separately at cr/90486340.
5 years, 8 months ago (2015-04-07 07:40:32 UTC) #9
benwells
slgtm
5 years, 8 months ago (2015-04-07 07:42:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1029803004/60001
5 years, 8 months ago (2015-04-07 07:58:17 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1029803004/80001
5 years, 8 months ago (2015-04-07 13:30:10 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 8 months ago (2015-04-07 14:52:26 UTC) #18
commit-bot: I haz the power
5 years, 8 months ago (2015-04-07 14:53:24 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8950a1dd2458b1fb0c34a60d2217a64561b47b19
Cr-Commit-Position: refs/heads/master@{#324040}

Powered by Google App Engine
This is Rietveld 408576698