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

Issue 242443004: Remove thread restriction of fileapi::FileSystemContext::ResolveURL. (Closed)

Created:
6 years, 8 months ago by kinaba
Modified:
6 years, 8 months ago
Reviewers:
kinuko, mtomasz, nhiroki
CC:
chromium-reviews, nkostylev+watch_chromium.org, tzik, yoshiki+watch_chromium.org, nhiroki, rginda+watch_chromium.org, darin-cc_chromium.org, oshima+watch_chromium.org, kinuko+watch, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Remove thread restriction of fileapi::FileSystemContext::ResolveURL. BUG=363962 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265179

Patch Set 1 #

Total comments: 3

Patch Set 2 : Partial fix. #

Patch Set 3 : Return non-error for absent entry #

Total comments: 7

Patch Set 4 : Fix error code in DidResolveURL #

Total comments: 2

Patch Set 5 : Update comment. #

Patch Set 6 : Fix comment. #

Total comments: 2

Patch Set 7 : Comment for failure case. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -70 lines) Patch
M chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.h View 1 1 chunk +2 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc View 1 2 chunks +11 lines, -20 lines 0 comments Download
M chrome/browser/chromeos/file_manager/fileapi_util.cc View 1 2 3 4 chunks +23 lines, -26 lines 0 comments Download
M content/browser/fileapi/fileapi_message_filter.h View 1 2 3 chunks +2 lines, -2 lines 0 comments Download
M content/browser/fileapi/fileapi_message_filter.cc View 1 2 3 1 chunk +12 lines, -6 lines 0 comments Download
M webkit/browser/fileapi/file_system_context.h View 1 2 3 4 5 6 2 chunks +12 lines, -4 lines 0 comments Download
M webkit/browser/fileapi/file_system_context.cc View 1 2 3 chunks +36 lines, -7 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
kinaba
Patch Set 1 takes a different way from originally discussion in https://codereview.chromium.org/242493002/. Here's why (comments ...
6 years, 8 months ago (2014-04-18 05:31:59 UTC) #1
mtomasz
https://codereview.chromium.org/242443004/diff/1/chrome/browser/chromeos/file_manager/fileapi_util.cc File chrome/browser/chromeos/file_manager/fileapi_util.cc (right): https://codereview.chromium.org/242443004/diff/1/chrome/browser/chromeos/file_manager/fileapi_util.cc#newcode182 chrome/browser/chromeos/file_manager/fileapi_util.cc:182: root_virtual_path.IsParent(iterator->virtual_path)); FYI, this fails in tests.
6 years, 8 months ago (2014-04-18 07:00:10 UTC) #2
kinuko
lgtm, from fileapi pov I can live with this code. https://codereview.chromium.org/242443004/diff/1/chrome/browser/chromeos/file_manager/fileapi_util.cc File chrome/browser/chromeos/file_manager/fileapi_util.cc (right): https://codereview.chromium.org/242443004/diff/1/chrome/browser/chromeos/file_manager/fileapi_util.cc#newcode144 ...
6 years, 8 months ago (2014-04-18 07:35:02 UTC) #3
nhiroki
LGTM. Thank you for working on this!
6 years, 8 months ago (2014-04-21 01:40:20 UTC) #4
kinaba
@kinuko, @nhiroki, @mtomasz, thanks for the reviews. Could you take one more look for the ...
6 years, 8 months ago (2014-04-21 04:51:40 UTC) #5
mtomasz
https://codereview.chromium.org/242443004/diff/40001/chrome/browser/chromeos/file_manager/fileapi_util.cc File chrome/browser/chromeos/file_manager/fileapi_util.cc (right): https://codereview.chromium.org/242443004/diff/40001/chrome/browser/chromeos/file_manager/fileapi_util.cc#newcode158 chrome/browser/chromeos/file_manager/fileapi_util.cc:158: fileapi::FileSystemContext::ResolvedEntryType type) { I'm wondering if introducing a new ...
6 years, 8 months ago (2014-04-21 05:03:04 UTC) #6
kinaba
https://codereview.chromium.org/242443004/diff/40001/chrome/browser/chromeos/file_manager/fileapi_util.cc File chrome/browser/chromeos/file_manager/fileapi_util.cc (right): https://codereview.chromium.org/242443004/diff/40001/chrome/browser/chromeos/file_manager/fileapi_util.cc#newcode158 chrome/browser/chromeos/file_manager/fileapi_util.cc:158: fileapi::FileSystemContext::ResolvedEntryType type) { On 2014/04/21 05:03:05, mtomasz wrote: > ...
6 years, 8 months ago (2014-04-21 05:19:08 UTC) #7
mtomasz
https://codereview.chromium.org/242443004/diff/40001/chrome/browser/chromeos/file_manager/fileapi_util.cc File chrome/browser/chromeos/file_manager/fileapi_util.cc (right): https://codereview.chromium.org/242443004/diff/40001/chrome/browser/chromeos/file_manager/fileapi_util.cc#newcode158 chrome/browser/chromeos/file_manager/fileapi_util.cc:158: fileapi::FileSystemContext::ResolvedEntryType type) { On 2014/04/21 05:19:09, kinaba wrote: > ...
6 years, 8 months ago (2014-04-21 05:48:33 UTC) #8
mtomasz
https://codereview.chromium.org/242443004/diff/40001/chrome/browser/chromeos/file_manager/fileapi_util.cc File chrome/browser/chromeos/file_manager/fileapi_util.cc (right): https://codereview.chromium.org/242443004/diff/40001/chrome/browser/chromeos/file_manager/fileapi_util.cc#newcode175 chrome/browser/chromeos/file_manager/fileapi_util.cc:175: entry_definition.error = error; nit: This is always FILE_OK here, ...
6 years, 8 months ago (2014-04-21 05:50:01 UTC) #9
nhiroki
lgtm2 for the fileapi part
6 years, 8 months ago (2014-04-21 07:01:04 UTC) #10
kinaba
Updated. @kinuko, what do you think about the point Tomasz and I am discussing? Both ...
6 years, 8 months ago (2014-04-21 07:59:24 UTC) #11
mtomasz
lgtm, but let's wait for @kinuko's point of view. https://codereview.chromium.org/242443004/diff/40001/chrome/browser/chromeos/file_manager/fileapi_util.cc File chrome/browser/chromeos/file_manager/fileapi_util.cc (right): https://codereview.chromium.org/242443004/diff/40001/chrome/browser/chromeos/file_manager/fileapi_util.cc#newcode158 chrome/browser/chromeos/file_manager/fileapi_util.cc:158: ...
6 years, 8 months ago (2014-04-21 08:04:07 UTC) #12
kinuko
lgtm https://codereview.chromium.org/242443004/diff/80001/webkit/browser/fileapi/file_system_context.h File webkit/browser/fileapi/file_system_context.h (right): https://codereview.chromium.org/242443004/diff/80001/webkit/browser/fileapi/file_system_context.h#newcode217 webkit/browser/fileapi/file_system_context.h:217: // thread with a message loop. |callback| is ...
6 years, 8 months ago (2014-04-21 08:56:02 UTC) #13
kinaba
https://codereview.chromium.org/242443004/diff/80001/webkit/browser/fileapi/file_system_context.h File webkit/browser/fileapi/file_system_context.h (right): https://codereview.chromium.org/242443004/diff/80001/webkit/browser/fileapi/file_system_context.h#newcode217 webkit/browser/fileapi/file_system_context.h:217: // thread with a message loop. |callback| is invoked ...
6 years, 8 months ago (2014-04-21 09:21:59 UTC) #14
kinaba
On 2014/04/21 09:21:59, kinaba wrote: > https://codereview.chromium.org/242443004/diff/80001/webkit/browser/fileapi/file_system_context.h > File webkit/browser/fileapi/file_system_context.h (right): > > https://codereview.chromium.org/242443004/diff/80001/webkit/browser/fileapi/file_system_context.h#newcode217 > ...
6 years, 8 months ago (2014-04-21 09:22:26 UTC) #15
kinaba
On 2014/04/21 09:22:26, kinaba wrote: > On 2014/04/21 09:21:59, kinaba wrote: > > > https://codereview.chromium.org/242443004/diff/80001/webkit/browser/fileapi/file_system_context.h ...
6 years, 8 months ago (2014-04-21 09:25:20 UTC) #16
kinuko
https://codereview.chromium.org/242443004/diff/130001/webkit/browser/fileapi/file_system_context.h File webkit/browser/fileapi/file_system_context.h (right): https://codereview.chromium.org/242443004/diff/130001/webkit/browser/fileapi/file_system_context.h#newcode216 webkit/browser/fileapi/file_system_context.h:216: // the entry referred by the URL does not ...
6 years, 8 months ago (2014-04-21 10:01:37 UTC) #17
kinaba
https://codereview.chromium.org/242443004/diff/130001/webkit/browser/fileapi/file_system_context.h File webkit/browser/fileapi/file_system_context.h (right): https://codereview.chromium.org/242443004/diff/130001/webkit/browser/fileapi/file_system_context.h#newcode216 webkit/browser/fileapi/file_system_context.h:216: // the entry referred by the URL does not ...
6 years, 8 months ago (2014-04-22 00:32:54 UTC) #18
kinaba
The CQ bit was checked by kinaba@chromium.org
6 years, 8 months ago (2014-04-22 01:14:37 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinaba@chromium.org/242443004/150001
6 years, 8 months ago (2014-04-22 01:14:53 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-22 02:39:48 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_x64_rel
6 years, 8 months ago (2014-04-22 02:39:49 UTC) #22
kinaba
The CQ bit was checked by kinaba@chromium.org
6 years, 8 months ago (2014-04-22 03:13:49 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinaba@chromium.org/242443004/150001
6 years, 8 months ago (2014-04-22 03:14:02 UTC) #24
commit-bot: I haz the power
6 years, 8 months ago (2014-04-22 05:03:09 UTC) #25
Message was sent while issue was closed.
Change committed as 265179

Powered by Google App Engine
This is Rietveld 408576698