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

Issue 407073003: [SyncFS] Add completion callback to PromoteDemotedChanges (1/3) (Closed)

Created:
6 years, 5 months ago by tzik
Modified:
6 years, 5 months ago
Reviewers:
peria
CC:
chromium-reviews, kinuko+fileapi, nhiroki, tzik
Project:
chromium
Visibility:
Public.

Description

[SyncFS] Add completion callback to PromoteDemotedChanges Add completion callback as a parameter of PromoteDemotedChanges. This is mainly for tests to wait for the completion of the operation. BUG=344769 TEST=unit_tests --gtest_filter='DriveBackendSyncTest.*' Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284686

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -42 lines) Patch
M chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc View 1 chunk +12 lines, -2 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/fake_sync_worker.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/fake_sync_worker.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine.cc View 1 chunk +9 lines, -3 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_worker.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_worker.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_worker_interface.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/local/local_file_sync_context.h View 2 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/sync_file_system/local/local_file_sync_context.cc View 8 chunks +28 lines, -17 lines 0 comments Download
M chrome/browser/sync_file_system/local/local_file_sync_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/local/local_file_sync_service.cc View 1 2 3 2 chunks +18 lines, -2 lines 0 comments Download
M chrome/browser/sync_file_system/mock_remote_file_sync_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/remote_file_sync_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/sync_file_system_service.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync_file_system/syncable_file_system_util.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/syncable_file_system_util.cc View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
tzik
PTL
6 years, 5 months ago (2014-07-22 07:07:03 UTC) #1
peria
lgtm with a nit. https://codereview.chromium.org/407073003/diff/40001/chrome/browser/sync_file_system/local/local_file_sync_service.cc File chrome/browser/sync_file_system/local/local_file_sync_service.cc (right): https://codereview.chromium.org/407073003/diff/40001/chrome/browser/sync_file_system/local/local_file_sync_service.cc#newcode46 chrome/browser/sync_file_system/local/local_file_sync_service.cc:46: if (!--*count) nit: Could you ...
6 years, 5 months ago (2014-07-22 07:19:29 UTC) #2
tzik
https://codereview.chromium.org/407073003/diff/40001/chrome/browser/sync_file_system/local/local_file_sync_service.cc File chrome/browser/sync_file_system/local/local_file_sync_service.cc (right): https://codereview.chromium.org/407073003/diff/40001/chrome/browser/sync_file_system/local/local_file_sync_service.cc#newcode46 chrome/browser/sync_file_system/local/local_file_sync_service.cc:46: if (!--*count) On 2014/07/22 07:19:29, peria wrote: > nit: ...
6 years, 5 months ago (2014-07-22 07:28:22 UTC) #3
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 5 months ago (2014-07-22 07:29:38 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/407073003/60001
6 years, 5 months ago (2014-07-22 07:30:32 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-22 09:19:04 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-22 10:27:04 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_x64_rel/builds/33001)
6 years, 5 months ago (2014-07-22 10:27:04 UTC) #8
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 5 months ago (2014-07-22 11:24:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/407073003/60001
6 years, 5 months ago (2014-07-22 11:25:38 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-22 12:30:19 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 16:02:04 UTC) #12
Message was sent while issue was closed.
Change committed as 284686

Powered by Google App Engine
This is Rietveld 408576698