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 291403004: [SyncFS] Add TaskLogger and wire up it. (Closed)

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

Description

[SyncFS] Add TaskLogger and wire up it. * Add TaskLogger class to log per-task status. * Wire up it SyncFileSystemService to SyncTaskManager. BUG=344769 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272857

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : +comment #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -29 lines) Patch
M chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/list_changes_task_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine.cc View 1 2 3 chunks +18 lines, -17 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine_context.h View 1 4 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine_context.cc View 1 2 3 4 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_task_manager.h View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_worker.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_worker.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/remote_file_sync_service.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/remote_file_sync_service.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/sync_file_system/sync_file_system_service.h View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/sync_file_system/sync_file_system_service.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/sync_file_system_service_factory.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A chrome/browser/sync_file_system/task_logger.h View 1 2 3 1 chunk +63 lines, -0 lines 0 comments Download
A chrome/browser/sync_file_system/task_logger.cc View 1 2 3 1 chunk +55 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
tzik
PTL. This is another missing piece for the thread migration. And also this is desirable ...
6 years, 7 months ago (2014-05-23 16:59:39 UTC) #1
peria
LGTM with a nit. https://codereview.chromium.org/291403004/diff/20001/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/291403004/diff/20001/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc#newcode1088 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc:1088: void DriveFileSyncService::RecordTaskLog(scoped_ptr<TaskLogger::TaskLog> log) { please ...
6 years, 7 months ago (2014-05-24 02:50:07 UTC) #2
nhiroki
LGTM https://codereview.chromium.org/291403004/diff/40001/chrome/browser/sync_file_system/task_logger.h File chrome/browser/sync_file_system/task_logger.h (right): https://codereview.chromium.org/291403004/diff/40001/chrome/browser/sync_file_system/task_logger.h#newcode54 chrome/browser/sync_file_system/task_logger.h:54: size_t log_size_; How about renaming this with "max_log_size_"? ...
6 years, 7 months ago (2014-05-26 01:30:37 UTC) #3
tzik
https://codereview.chromium.org/291403004/diff/20001/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/291403004/diff/20001/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc#newcode1088 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc:1088: void DriveFileSyncService::RecordTaskLog(scoped_ptr<TaskLogger::TaskLog> log) { On 2014/05/24 02:50:08, peria wrote: ...
6 years, 7 months ago (2014-05-26 03:22:34 UTC) #4
peria
https://codereview.chromium.org/291403004/diff/20001/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/291403004/diff/20001/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc#newcode1088 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc:1088: void DriveFileSyncService::RecordTaskLog(scoped_ptr<TaskLogger::TaskLog> log) { On 2014/05/26 03:22:34, tzik wrote: ...
6 years, 7 months ago (2014-05-26 03:40:34 UTC) #5
tzik
https://codereview.chromium.org/291403004/diff/40001/chrome/browser/sync_file_system/task_logger.h File chrome/browser/sync_file_system/task_logger.h (right): https://codereview.chromium.org/291403004/diff/40001/chrome/browser/sync_file_system/task_logger.h#newcode54 chrome/browser/sync_file_system/task_logger.h:54: size_t log_size_; On 2014/05/26 01:30:37, nhiroki wrote: > How ...
6 years, 7 months ago (2014-05-26 04:08:06 UTC) #6
tzik
On 2014/05/26 03:40:34, peria wrote: > https://codereview.chromium.org/291403004/diff/20001/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/291403004/diff/20001/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc#newcode1088 ...
6 years, 7 months ago (2014-05-26 04:14:39 UTC) #7
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 7 months ago (2014-05-26 04:15:33 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/291403004/60001
6 years, 7 months ago (2014-05-26 04:16:12 UTC) #9
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-26 08:33:35 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-26 09:36:02 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel/builds/35027)
6 years, 7 months ago (2014-05-26 09:36:03 UTC) #12
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 7 months ago (2014-05-26 14:59:59 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/291403004/80001
6 years, 7 months ago (2014-05-26 15:00:22 UTC) #14
commit-bot: I haz the power
6 years, 7 months ago (2014-05-26 16:46:11 UTC) #15
Message was sent while issue was closed.
Change committed as 272857

Powered by Google App Engine
This is Rietveld 408576698