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

Issue 259503004: [SyncFS] Refine callback helpers (Closed)

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

Description

[SyncFS] Refine callback helpers * Clean up the implementation * Accept FROM_HERE to improve tracability * Add another version that takes TaskRunner to relay. BUG=347425 TEST=unit_tests --gtest_filter=DriveBackendCallbackHelperTest.* R=peria@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266127

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Total comments: 3

Patch Set 5 : use pump.py #

Total comments: 2

Patch Set 6 : #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+268 lines, -41 lines) Patch
M chrome/browser/sync_file_system/drive_backend/callback_helper.h View 1 2 3 4 3 chunks +113 lines, -32 lines 0 comments Download
A chrome/browser/sync_file_system/drive_backend/callback_helper.h.pump View 1 2 3 4 1 chunk +93 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc View 1 2 3 4 5 3 chunks +46 lines, -3 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine.cc View 1 2 3 4 5 6 6 chunks +16 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
tzik
PTL. I'd like to add a variant use the helper from worker.
6 years, 8 months ago (2014-04-24 04:50:24 UTC) #1
peria
https://codereview.chromium.org/259503004/diff/30001/chrome/browser/sync_file_system/drive_backend/callback_helper.h File chrome/browser/sync_file_system/drive_backend/callback_helper.h (right): https://codereview.chromium.org/259503004/diff/30001/chrome/browser/sync_file_system/drive_backend/callback_helper.h#newcode78 chrome/browser/sync_file_system/drive_backend/callback_helper.h:78: base::Callback<T> RelayCallbackToTaskRunner( Please add a test for this template. ...
6 years, 8 months ago (2014-04-24 05:13:52 UTC) #2
tzik
https://codereview.chromium.org/259503004/diff/30001/chrome/browser/sync_file_system/drive_backend/callback_helper.h File chrome/browser/sync_file_system/drive_backend/callback_helper.h (right): https://codereview.chromium.org/259503004/diff/30001/chrome/browser/sync_file_system/drive_backend/callback_helper.h#newcode78 chrome/browser/sync_file_system/drive_backend/callback_helper.h:78: base::Callback<T> RelayCallbackToTaskRunner( On 2014/04/24 05:13:53, peria wrote: > Please ...
6 years, 8 months ago (2014-04-24 07:02:17 UTC) #3
peria
https://codereview.chromium.org/259503004/diff/50001/chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc File chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc (right): https://codereview.chromium.org/259503004/diff/50001/chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc#newcode34 chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc:34: RelayCallbackToTaskRunner( callback_helper.h has 2 interface templates, RelayCallbackToTaskRunner() and RelayCallbackToCurrentThread(). ...
6 years, 8 months ago (2014-04-24 07:30:04 UTC) #4
tzik
https://codereview.chromium.org/259503004/diff/50001/chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc File chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc (right): https://codereview.chromium.org/259503004/diff/50001/chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc#newcode34 chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc:34: RelayCallbackToTaskRunner( On 2014/04/24 07:30:05, peria wrote: > callback_helper.h has ...
6 years, 8 months ago (2014-04-24 07:58:34 UTC) #5
peria
https://codereview.chromium.org/259503004/diff/70001/chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc File chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc (right): https://codereview.chromium.org/259503004/diff/70001/chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc#newcode34 chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc:34: RelayCallbackToTaskRunner( as we chatted f2f, remove this test #34-42 ...
6 years, 8 months ago (2014-04-24 08:15:34 UTC) #6
tzik
https://codereview.chromium.org/259503004/diff/70001/chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc File chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc (right): https://codereview.chromium.org/259503004/diff/70001/chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc#newcode34 chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc:34: RelayCallbackToTaskRunner( On 2014/04/24 08:15:35, peria wrote: > as we ...
6 years, 8 months ago (2014-04-24 09:31:58 UTC) #7
peria
lgtm
6 years, 8 months ago (2014-04-24 09:33:48 UTC) #8
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 8 months ago (2014-04-24 10:19:08 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/259503004/90001
6 years, 8 months ago (2014-04-24 11:07:58 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 12:12:12 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 8 months ago (2014-04-24 12:12:12 UTC) #12
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 8 months ago (2014-04-25 02:45:12 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/259503004/90001
6 years, 8 months ago (2014-04-25 02:45:30 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-25 03:38:41 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 8 months ago (2014-04-25 03:38:42 UTC) #16
tzik
6 years, 8 months ago (2014-04-25 04:14:16 UTC) #17
Message was sent while issue was closed.
Committed patchset #7 manually as r266127 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698