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

Issue 294893005: [SyncFS] Make GetOriginStatusMap asynchronous (Closed)

Created:
6 years, 7 months ago by peria
Modified:
6 years, 7 months ago
Reviewers:
nhiroki, tzik
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, kinuko+watch, extensions-reviews_chromium.org, nhiroki, tzik
Visibility:
Public.

Description

[SyncFS] Make GetOriginStatusMap run asynchronously. BUG=347425 TEST=./unit_tests --gtest_filter="DriveBackend*:SyncEngine*:Conflict*:RegisterApp*:RemoteTo*:LocalTo*:ListChange*:MetadataDatabase*:TaskDep*" Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272483

Patch Set 1 : #

Patch Set 2 : Refactoring #

Total comments: 8

Patch Set 3 : Work for nits #

Total comments: 2

Patch Set 4 : scoped_ptr #

Total comments: 6

Patch Set 5 : Work for nits #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -75 lines) Patch
M chrome/browser/sync_file_system/drive_backend/sync_engine.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine.cc View 1 2 3 4 5 1 chunk +6 lines, -3 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc View 1 2 3 1 chunk +13 lines, -11 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_worker.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_worker.cc View 1 2 3 4 5 1 chunk +7 lines, -7 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h View 1 2 3 4 5 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 2 3 4 5 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc View 1 2 3 3 chunks +15 lines, -11 lines 0 comments Download
M chrome/browser/sync_file_system/mock_remote_file_sync_service.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/remote_file_sync_service.h View 1 2 3 4 5 3 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/sync_file_system_service.h View 1 2 3 3 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/sync_file_system_service.cc View 1 2 3 4 5 2 chunks +29 lines, -6 lines 0 comments Download
M chrome/browser/sync_file_system/sync_file_system_test_util.cc View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/sync_file_system_internals/extension_statuses_handler.h View 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/sync_file_system_internals/extension_statuses_handler.cc View 1 2 3 chunks +52 lines, -25 lines 0 comments Download
M chrome/browser/ui/webui/sync_file_system_internals/file_metadata_handler.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/sync_file_system_internals/file_metadata_handler.cc View 1 chunk +7 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
peria
PTL. This method seems the last method to be async version.
6 years, 7 months ago (2014-05-21 08:22:58 UTC) #1
tzik
https://codereview.chromium.org/294893005/diff/80001/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc File chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc (right): https://codereview.chromium.org/294893005/diff/80001/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc#newcode264 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc:264: sync_engine()->GetOriginStatusMap(base::Bind(&SetStatusMap, &status_map)); Does CreateResultReceiver work for this? https://codereview.chromium.org/294893005/diff/80001/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc File ...
6 years, 7 months ago (2014-05-21 10:52:33 UTC) #2
peria
https://codereview.chromium.org/294893005/diff/80001/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc File chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc (right): https://codereview.chromium.org/294893005/diff/80001/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc#newcode264 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc:264: sync_engine()->GetOriginStatusMap(base::Bind(&SetStatusMap, &status_map)); On 2014/05/21 10:52:33, tzik wrote: > Does ...
6 years, 7 months ago (2014-05-22 02:25:21 UTC) #3
tzik
https://codereview.chromium.org/294893005/diff/120001/chrome/browser/sync_file_system/remote_file_sync_service.h File chrome/browser/sync_file_system/remote_file_sync_service.h (right): https://codereview.chromium.org/294893005/diff/120001/chrome/browser/sync_file_system/remote_file_sync_service.h#newcode115 chrome/browser/sync_file_system/remote_file_sync_service.h:115: StatusMapCallback; # As we chatted locally. Can we change ...
6 years, 7 months ago (2014-05-22 03:51:12 UTC) #4
peria
https://codereview.chromium.org/294893005/diff/120001/chrome/browser/sync_file_system/remote_file_sync_service.h File chrome/browser/sync_file_system/remote_file_sync_service.h (right): https://codereview.chromium.org/294893005/diff/120001/chrome/browser/sync_file_system/remote_file_sync_service.h#newcode115 chrome/browser/sync_file_system/remote_file_sync_service.h:115: StatusMapCallback; On 2014/05/22 03:51:13, tzik wrote: > # As ...
6 years, 7 months ago (2014-05-22 04:37:58 UTC) #5
tzik
Looks good! https://codereview.chromium.org/294893005/diff/140001/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc File chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc (right): https://codereview.chromium.org/294893005/diff/140001/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc#newcode237 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc:237: typedef OriginStatusMap::const_iterator iterator; ditto https://codereview.chromium.org/294893005/diff/140001/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h File chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h ...
6 years, 7 months ago (2014-05-22 05:14:12 UTC) #6
peria
https://codereview.chromium.org/294893005/diff/140001/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc File chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc (right): https://codereview.chromium.org/294893005/diff/140001/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc#newcode237 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc:237: typedef OriginStatusMap::const_iterator iterator; On 2014/05/22 05:14:13, tzik wrote: > ...
6 years, 7 months ago (2014-05-22 06:11:44 UTC) #7
tzik
lgtm
6 years, 7 months ago (2014-05-22 07:26:48 UTC) #8
peria
The CQ bit was checked by peria@chromium.org
6 years, 7 months ago (2014-05-22 07:36:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/peria@chromium.org/294893005/160001
6 years, 7 months ago (2014-05-22 07:38:26 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-22 13:41:55 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-22 13:47:10 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/6614) linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/29968) linux_chromium_gn_rel ...
6 years, 7 months ago (2014-05-22 13:47:10 UTC) #13
peria
The CQ bit was checked by peria@chromium.org
6 years, 7 months ago (2014-05-23 01:24:24 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/peria@chromium.org/294893005/180001
6 years, 7 months ago (2014-05-23 01:25:49 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-23 03:10:55 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-23 03:15:20 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/6928)
6 years, 7 months ago (2014-05-23 03:15:20 UTC) #18
peria
The CQ bit was checked by peria@chromium.org
6 years, 7 months ago (2014-05-23 07:16:01 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/peria@chromium.org/294893005/220001
6 years, 7 months ago (2014-05-23 07:18:33 UTC) #20
commit-bot: I haz the power
6 years, 7 months ago (2014-05-23 11:00:09 UTC) #21
Message was sent while issue was closed.
Change committed as 272483

Powered by Google App Engine
This is Rietveld 408576698