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

Issue 23011002: Whitelist TimeScapes to access restricted native local filesystem. (Closed)

Created:
7 years, 4 months ago by mtomasz
Modified:
7 years, 4 months ago
Reviewers:
kinuko, satorux1, tbarzic
CC:
chromium-reviews, nkostylev+watch_chromium.org, tzik+watch_chromium.org, oshima+watch_chromium.org, kinuko+watch, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, tbarzic
Visibility:
Public.

Description

Whitelist TimeScapes to access restricted native local filesystem. Recently, access to oem data has been disabled by default, and it is enabled only for Files.app. However, TimeScapes is an external extension and lost ability to play the movie which is in the oem directory. This patch temporarily whitelists TimeScapes to let it access the video. Note, that this is just a temporary solution, and we should either restore access to read only native file systems to everyone, or grant it to TimeScapes in a proper way. TEST=TimeScapes should play correctly in M-30. BUG=262265 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217247

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M chrome/browser/chromeos/fileapi/file_system_backend.cc View 1 1 chunk +7 lines, -0 lines 2 comments Download

Messages

Total messages: 11 (0 generated)
mtomasz
@kinuko: Please verify. @satorux: PTAL as an OWNER.
7 years, 4 months ago (2013-08-13 04:21:41 UTC) #1
mtomasz
On 2013/08/13 04:21:41, mtomasz wrote: > @kinuko: Please verify. > @satorux: PTAL as an OWNER. ...
7 years, 4 months ago (2013-08-13 04:22:11 UTC) #2
mtomasz
On 2013/08/13 04:22:11, mtomasz wrote: > On 2013/08/13 04:21:41, mtomasz wrote: > > @kinuko: Please ...
7 years, 4 months ago (2013-08-13 04:22:42 UTC) #3
kinuko
lgtm as a fix for M-30 (cc-ing toni who probably knows better about oem access ...
7 years, 4 months ago (2013-08-13 04:32:01 UTC) #4
satorux1
https://codereview.chromium.org/23011002/diff/1/chrome/browser/chromeos/fileapi/file_system_backend.cc File chrome/browser/chromeos/fileapi/file_system_backend.cc (right): https://codereview.chromium.org/23011002/diff/1/chrome/browser/chromeos/fileapi/file_system_backend.cc#newcode145 chrome/browser/chromeos/fileapi/file_system_backend.cc:145: // TODO(mtomasz): Temporarily whitelist TimeScapes. Remove this in M-31. ...
7 years, 4 months ago (2013-08-13 04:39:21 UTC) #5
mtomasz
https://codereview.chromium.org/23011002/diff/1/chrome/browser/chromeos/fileapi/file_system_backend.cc File chrome/browser/chromeos/fileapi/file_system_backend.cc (right): https://codereview.chromium.org/23011002/diff/1/chrome/browser/chromeos/fileapi/file_system_backend.cc#newcode145 chrome/browser/chromeos/fileapi/file_system_backend.cc:145: // TODO(mtomasz): Temporarily whitelist TimeScapes. Remove this in M-31. ...
7 years, 4 months ago (2013-08-13 05:35:25 UTC) #6
satorux1
LGTM
7 years, 4 months ago (2013-08-13 05:41:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtomasz@chromium.org/23011002/2
7 years, 4 months ago (2013-08-13 05:44:58 UTC) #8
commit-bot: I haz the power
Change committed as 217247
7 years, 4 months ago (2013-08-13 12:15:15 UTC) #9
tbarzic
https://chromiumcodereview.appspot.com/23011002/diff/2/chrome/browser/chromeos/fileapi/file_system_backend.cc File chrome/browser/chromeos/fileapi/file_system_backend.cc (right): https://chromiumcodereview.appspot.com/23011002/diff/2/chrome/browser/chromeos/fileapi/file_system_backend.cc#newcode148 chrome/browser/chromeos/fileapi/file_system_backend.cc:148: url.mount_type() == fileapi::kFileSystemTypeRestrictedNativeLocal) { does this actually work? I ...
7 years, 4 months ago (2013-08-14 23:18:10 UTC) #10
mtomasz
7 years, 4 months ago (2013-08-15 02:02:21 UTC) #11
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/23011002/diff/2/chrome/browser/chromeo...
File chrome/browser/chromeos/fileapi/file_system_backend.cc (right):

https://chromiumcodereview.appspot.com/23011002/diff/2/chrome/browser/chromeo...
chrome/browser/chromeos/fileapi/file_system_backend.cc:148: url.mount_type() ==
fileapi::kFileSystemTypeRestrictedNativeLocal) {
Oops! Good catch!

Powered by Google App Engine
This is Rietveld 408576698