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

Issue 170733004: Avoid sync IPCs for FileSystem API (Closed)

Created:
6 years, 10 months ago by Fady Samuel
Modified:
6 years, 6 months ago
CC:
chromium-reviews, markusheintz_, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Avoid sync IPCs for FileSystem API on the main thread BUG=343382

Patch Set 1 #

Patch Set 2 : Added support for shared works #

Patch Set 3 : Async File System permission #

Total comments: 10

Patch Set 4 : Updated #

Patch Set 5 : Added missing early exit failure #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -1 line) Patch
M chrome/browser/content_settings/tab_specific_content_settings.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/content_settings/tab_specific_content_settings.cc View 1 2 3 3 chunks +23 lines, -0 lines 1 comment Download
M chrome/common/render_messages.h View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/renderer/content_settings_observer.h View 1 2 3 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/renderer/content_settings_observer.cc View 1 2 3 4 6 chunks +46 lines, -1 line 1 comment Download
M chrome/renderer/worker_permission_client_proxy.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/worker_permission_client_proxy.cc View 1 2 3 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Fady Samuel
It turns out there's a lot of complexity to making both worker threads and the ...
6 years, 9 months ago (2014-03-05 00:33:04 UTC) #1
kinuko
https://codereview.chromium.org/170733004/diff/100001/chrome/browser/content_settings/tab_specific_content_settings.cc File chrome/browser/content_settings/tab_specific_content_settings.cc (right): https://codereview.chromium.org/170733004/diff/100001/chrome/browser/content_settings/tab_specific_content_settings.cc#newcode350 chrome/browser/content_settings/tab_specific_content_settings.cc:350: if (!ChromeViewHostMsg_RequestFileSystemAccess::Read(&message, &param)) nit: I think you could directly ...
6 years, 9 months ago (2014-03-05 08:35:43 UTC) #2
Fady Samuel
ptal https://codereview.chromium.org/170733004/diff/100001/chrome/browser/content_settings/tab_specific_content_settings.cc File chrome/browser/content_settings/tab_specific_content_settings.cc (right): https://codereview.chromium.org/170733004/diff/100001/chrome/browser/content_settings/tab_specific_content_settings.cc#newcode350 chrome/browser/content_settings/tab_specific_content_settings.cc:350: if (!ChromeViewHostMsg_RequestFileSystemAccess::Read(&message, &param)) On 2014/03/05 08:35:44, kinuko wrote: ...
6 years, 9 months ago (2014-03-06 18:38:25 UTC) #3
kinuko
lgtm with one nit https://codereview.chromium.org/170733004/diff/140001/chrome/renderer/content_settings_observer.cc File chrome/renderer/content_settings_observer.cc (right): https://codereview.chromium.org/170733004/diff/140001/chrome/renderer/content_settings_observer.cc#newcode282 chrome/renderer/content_settings_observer.cc:282: permission_requests_.erase(insert_result.first); I feel this could ...
6 years, 9 months ago (2014-03-07 08:22:29 UTC) #4
jochen (gone - plz use gerrit)
6 years, 9 months ago (2014-03-10 15:31:30 UTC) #5
https://codereview.chromium.org/170733004/diff/140001/chrome/browser/content_...
File chrome/browser/content_settings/tab_specific_content_settings.cc (right):

https://codereview.chromium.org/170733004/diff/140001/chrome/browser/content_...
chrome/browser/content_settings/tab_specific_content_settings.cc:664:
IPC_MESSAGE_HANDLER_GENERIC(ChromeViewHostMsg_RequestFileSystemAccess,
this should be handled in chrome_render_message_filter instead

Powered by Google App Engine
This is Rietveld 408576698