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

Issue 11235027: Wire up Syncable operation runner to the local file sync context (Closed)

Created:
8 years, 2 months ago by kinuko
Modified:
8 years, 1 month ago
Reviewers:
tzik
CC:
chromium-reviews, tzik+watch_chromium.org, kinuko+watch, darin-cc_chromium.org, nhiroki, calvinlo
Visibility:
Public.

Description

Wire up Syncable operation runner to the local file sync context * Adding LocalFileSyncContext::PrepareForSync method which disables writing on the given URL (the design is roughly based on the skeleton http://codereview.chromium.org/11234025/) BUG=148897, 154234 TEST=LocalFileSyncContextTest.* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=164033

Patch Set 1 : #

Patch Set 2 : rebased on top of http://codereview.chromium.org/11238054/ #

Total comments: 4

Patch Set 3 : rebased #

Total comments: 7

Patch Set 4 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+282 lines, -6 lines) Patch
M webkit/fileapi/syncable/local_file_sync_context.h View 1 2 3 6 chunks +46 lines, -3 lines 0 comments Download
M webkit/fileapi/syncable/local_file_sync_context.cc View 1 2 3 6 chunks +86 lines, -2 lines 0 comments Download
M webkit/fileapi/syncable/local_file_sync_context_unittest.cc View 1 2 3 6 chunks +149 lines, -1 line 0 comments Download
M webkit/fileapi/syncable/sync_status_code.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
kinuko
More wiring for queueing & synchronization (this is getting complicated now) PTL Thanks!
8 years, 2 months ago (2012-10-22 12:43:07 UTC) #1
kinuko
Separated out the runner change from this one: http://codereview.chromium.org/11238054/
8 years, 1 month ago (2012-10-23 05:20:54 UTC) #2
kinuko
Rebased. PTL.
8 years, 1 month ago (2012-10-24 03:17:12 UTC) #3
tzik
http://codereview.chromium.org/11235027/diff/13011/webkit/fileapi/syncable/local_file_sync_context.cc File webkit/fileapi/syncable/local_file_sync_context.cc (right): http://codereview.chromium.org/11235027/diff/13011/webkit/fileapi/syncable/local_file_sync_context.cc#newcode80 webkit/fileapi/syncable/local_file_sync_context.cc:80: DCHECK(io_task_runner_->RunsTasksOnCurrentThread()); I think this is a bit too redundant. ...
8 years, 1 month ago (2012-10-24 03:45:12 UTC) #4
kinuko
http://codereview.chromium.org/11235027/diff/13011/webkit/fileapi/syncable/local_file_sync_context.cc File webkit/fileapi/syncable/local_file_sync_context.cc (right): http://codereview.chromium.org/11235027/diff/13011/webkit/fileapi/syncable/local_file_sync_context.cc#newcode80 webkit/fileapi/syncable/local_file_sync_context.cc:80: DCHECK(io_task_runner_->RunsTasksOnCurrentThread()); On 2012/10/24 03:45:13, tzik wrote: > I think ...
8 years, 1 month ago (2012-10-24 09:39:56 UTC) #5
kinuko
http://codereview.chromium.org/11235027/diff/15001/webkit/fileapi/syncable/local_file_sync_context.cc File webkit/fileapi/syncable/local_file_sync_context.cc (right): http://codereview.chromium.org/11235027/diff/15001/webkit/fileapi/syncable/local_file_sync_context.cc#newcode110 webkit/fileapi/syncable/local_file_sync_context.cc:110: url_syncable_callback_ = on_syncable_callback; For now I changed the code ...
8 years, 1 month ago (2012-10-24 14:07:05 UTC) #6
tzik
lgtm http://codereview.chromium.org/11235027/diff/15001/webkit/fileapi/syncable/local_file_sync_context.cc File webkit/fileapi/syncable/local_file_sync_context.cc (right): http://codereview.chromium.org/11235027/diff/15001/webkit/fileapi/syncable/local_file_sync_context.cc#newcode110 webkit/fileapi/syncable/local_file_sync_context.cc:110: url_syncable_callback_ = on_syncable_callback; On 2012/10/24 14:07:05, kinuko wrote: ...
8 years, 1 month ago (2012-10-25 08:14:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinuko@chromium.org/11235027/28008
8 years, 1 month ago (2012-10-25 08:22:32 UTC) #8
commit-bot: I haz the power
8 years, 1 month ago (2012-10-25 09:13:00 UTC) #9
Retried try job too often for step(s) unit_tests

Powered by Google App Engine
This is Rietveld 408576698