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

Issue 391083002: Remove passing WebString across threads (Closed)

Created:
6 years, 5 months ago by hiroshige
Modified:
6 years, 5 months ago
Reviewers:
michaeln, tzik
CC:
darin-cc_chromium.org, jam, kinuko+fileapi, nhiroki
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove passing WebString across threads Create bridge functions that converts arguments into Blink objects (such as WebFileSystemEntry and WebFileInfo) after crossing threads and then call WebFileSystemCallbacks methods. BUG=393900 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283627

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -30 lines) Patch
M content/child/fileapi/webfilesystem_impl.cc View 1 2 3 8 chunks +69 lines, -30 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
hiroshige
6 years, 5 months ago (2014-07-15 10:24:38 UTC) #1
tzik
https://codereview.chromium.org/391083002/diff/1/content/child/fileapi/webfilesystem_impl.cc File content/child/fileapi/webfilesystem_impl.cc (right): https://codereview.chromium.org/391083002/diff/1/content/child/fileapi/webfilesystem_impl.cc#newcode132 content/child/fileapi/webfilesystem_impl.cc:132: class WebFileSystemCallbacksBridge { I think it's not worth adding ...
6 years, 5 months ago (2014-07-15 10:41:27 UTC) #2
hiroshige
Thank you for reviewing and suggestions! https://codereview.chromium.org/391083002/diff/1/content/child/fileapi/webfilesystem_impl.cc File content/child/fileapi/webfilesystem_impl.cc (right): https://codereview.chromium.org/391083002/diff/1/content/child/fileapi/webfilesystem_impl.cc#newcode132 content/child/fileapi/webfilesystem_impl.cc:132: class WebFileSystemCallbacksBridge { ...
6 years, 5 months ago (2014-07-15 12:30:31 UTC) #3
tzik
https://codereview.chromium.org/391083002/diff/20001/content/child/fileapi/webfilesystem_impl.cc File content/child/fileapi/webfilesystem_impl.cc (right): https://codereview.chromium.org/391083002/diff/20001/content/child/fileapi/webfilesystem_impl.cc#newcode132 content/child/fileapi/webfilesystem_impl.cc:132: void didSucceed(WebFileSystemCallbacks *callbacks) { s/didSucceed/DidSucceed/, s/ *callbacks/* callbacks/ to ...
6 years, 5 months ago (2014-07-15 13:41:06 UTC) #4
hiroshige
https://codereview.chromium.org/391083002/diff/20001/content/child/fileapi/webfilesystem_impl.cc File content/child/fileapi/webfilesystem_impl.cc (right): https://codereview.chromium.org/391083002/diff/20001/content/child/fileapi/webfilesystem_impl.cc#newcode132 content/child/fileapi/webfilesystem_impl.cc:132: void didSucceed(WebFileSystemCallbacks *callbacks) { On 2014/07/15 13:41:06, tzik wrote: ...
6 years, 5 months ago (2014-07-16 04:09:16 UTC) #5
tzik
LGTM! https://codereview.chromium.org/391083002/diff/40001/content/child/fileapi/webfilesystem_impl.cc File content/child/fileapi/webfilesystem_impl.cc (right): https://codereview.chromium.org/391083002/diff/40001/content/child/fileapi/webfilesystem_impl.cc#newcode158 content/child/fileapi/webfilesystem_impl.cc:158: root); can these arguments be packed to l156?
6 years, 5 months ago (2014-07-16 04:22:51 UTC) #6
hiroshige
The CQ bit was checked by hiroshige@chromium.org
6 years, 5 months ago (2014-07-16 04:31:34 UTC) #7
hiroshige
Thanks! https://codereview.chromium.org/391083002/diff/40001/content/child/fileapi/webfilesystem_impl.cc File content/child/fileapi/webfilesystem_impl.cc (right): https://codereview.chromium.org/391083002/diff/40001/content/child/fileapi/webfilesystem_impl.cc#newcode158 content/child/fileapi/webfilesystem_impl.cc:158: root); On 2014/07/16 04:22:51, tzik wrote: > can ...
6 years, 5 months ago (2014-07-16 04:31:50 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hiroshige@chromium.org/391083002/60001
6 years, 5 months ago (2014-07-16 04:34:37 UTC) #9
tzik
On 2014/07/16 04:34:37, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 5 months ago (2014-07-16 04:43:38 UTC) #10
hiroshige
The CQ bit was unchecked by hiroshige@chromium.org
6 years, 5 months ago (2014-07-16 04:45:59 UTC) #11
michaeln
r/s lgtm2, nice catch
6 years, 5 months ago (2014-07-16 19:16:00 UTC) #12
hiroshige
The CQ bit was checked by hiroshige@chromium.org
6 years, 5 months ago (2014-07-17 03:40:18 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hiroshige@chromium.org/391083002/60001
6 years, 5 months ago (2014-07-17 03:42:52 UTC) #14
commit-bot: I haz the power
Change committed as 283627
6 years, 5 months ago (2014-07-17 03:50:02 UTC) #15
kinuko
6 years, 5 months ago (2014-07-21 13:38:50 UTC) #16
Message was sent while issue was closed.
Thx for fixing this.  Btw would it be possible/practical to have some thread
assertions in WebString not to overlook these patterns?

Powered by Google App Engine
This is Rietveld 408576698