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

Issue 177233005: [SyncFS] Wire up MetadataDatabaseIndex to MetadataDatabase (Closed)

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

Description

[SyncFS] Wire up MetadataDatabaseIndex to MetadataDatabase Use MetadataDatabaseIndex as the separate index management class in MetadataDatabase. BUG=344769 NOTRY=true TEST=unit_tests --gtest_filter='DriveBackendSyncTest.*:MetadataDatabaseTest.*' Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255340

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : test fix #

Patch Set 7 : fix for android build #

Patch Set 8 : #

Total comments: 2

Patch Set 9 : #

Total comments: 19

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : rebase #

Patch Set 14 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+661 lines, -836 lines) Patch
M chrome/browser/sync_file_system/drive_backend/drive_backend_util.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/metadata_database.h View 1 2 3 4 5 6 7 7 chunks +2 lines, -75 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/metadata_database.cc View 1 2 3 4 5 6 7 8 9 10 11 30 chunks +631 lines, -748 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/metadata_database_index.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +19 lines, -13 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
tzik
I think this is ready for review. Please take a look.
6 years, 9 months ago (2014-03-05 04:13:32 UTC) #1
nhiroki
https://codereview.chromium.org/177233005/diff/250001/chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc File chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc (right): https://codereview.chromium.org/177233005/diff/250001/chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc#newcode475 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc:475: metadata_database_->index_.get(); metadata_database_ -> metadata_database_2 Can you run tests again ...
6 years, 9 months ago (2014-03-05 04:23:30 UTC) #2
tzik
https://codereview.chromium.org/177233005/diff/250001/chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc File chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc (right): https://codereview.chromium.org/177233005/diff/250001/chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc#newcode475 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc:475: metadata_database_->index_.get(); On 2014/03/05 04:23:31, nhiroki wrote: > metadata_database_ -> ...
6 years, 9 months ago (2014-03-05 04:36:05 UTC) #3
nhiroki
LGTM https://codereview.chromium.org/177233005/diff/270001/chrome/browser/sync_file_system/drive_backend/metadata_database.cc File chrome/browser/sync_file_system/drive_backend/metadata_database.cc (right): https://codereview.chromium.org/177233005/diff/270001/chrome/browser/sync_file_system/drive_backend/metadata_database.cc#newcode425 chrome/browser/sync_file_system/drive_backend/metadata_database.cc:425: base::hash_set<std::string> affected_file_ids; Can you move |affected_file_ids| to line ...
6 years, 9 months ago (2014-03-05 06:21:35 UTC) #4
tzik
https://codereview.chromium.org/177233005/diff/270001/chrome/browser/sync_file_system/drive_backend/metadata_database.cc File chrome/browser/sync_file_system/drive_backend/metadata_database.cc (right): https://codereview.chromium.org/177233005/diff/270001/chrome/browser/sync_file_system/drive_backend/metadata_database.cc#newcode425 chrome/browser/sync_file_system/drive_backend/metadata_database.cc:425: base::hash_set<std::string> affected_file_ids; On 2014/03/05 06:21:35, nhiroki wrote: > Can ...
6 years, 9 months ago (2014-03-05 07:05:54 UTC) #5
kinuko
lgtm (not looked really thoroughly though) https://codereview.chromium.org/177233005/diff/270001/chrome/browser/sync_file_system/drive_backend/drive_backend_util.h File chrome/browser/sync_file_system/drive_backend/drive_backend_util.h (right): https://codereview.chromium.org/177233005/diff/270001/chrome/browser/sync_file_system/drive_backend/drive_backend_util.h#newcode72 chrome/browser/sync_file_system/drive_backend/drive_backend_util.h:72: scoped_ptr<T> Clone(const T* ...
6 years, 9 months ago (2014-03-05 07:41:32 UTC) #6
tzik
https://codereview.chromium.org/177233005/diff/270001/chrome/browser/sync_file_system/drive_backend/drive_backend_util.h File chrome/browser/sync_file_system/drive_backend/drive_backend_util.h (right): https://codereview.chromium.org/177233005/diff/270001/chrome/browser/sync_file_system/drive_backend/drive_backend_util.h#newcode72 chrome/browser/sync_file_system/drive_backend/drive_backend_util.h:72: scoped_ptr<T> Clone(const T* obj) { On 2014/03/05 07:41:32, kinuko ...
6 years, 9 months ago (2014-03-05 08:23:41 UTC) #7
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 9 months ago (2014-03-05 11:34:27 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/177233005/310001
6 years, 9 months ago (2014-03-05 11:34:55 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-05 11:39:25 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel
6 years, 9 months ago (2014-03-05 11:39:26 UTC) #11
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 9 months ago (2014-03-05 12:48:58 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/177233005/330001
6 years, 9 months ago (2014-03-05 12:49:15 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-05 12:53:40 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel
6 years, 9 months ago (2014-03-05 12:53:40 UTC) #15
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 9 months ago (2014-03-05 13:53:47 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/177233005/330001
6 years, 9 months ago (2014-03-05 13:54:03 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-05 14:21:22 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg
6 years, 9 months ago (2014-03-05 14:21:23 UTC) #19
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 9 months ago (2014-03-06 04:00:38 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/177233005/350001
6 years, 9 months ago (2014-03-06 04:01:56 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 04:39:26 UTC) #22
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) app_list_unittests, ash_unittests, aura_unittests, cacheinvalidation_unittests, cc_unittests, check_deps, ...
6 years, 9 months ago (2014-03-06 04:39:26 UTC) #23
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 9 months ago (2014-03-06 04:58:59 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/177233005/350001
6 years, 9 months ago (2014-03-06 04:59:19 UTC) #25
commit-bot: I haz the power
6 years, 9 months ago (2014-03-06 14:12:41 UTC) #26
Message was sent while issue was closed.
Change committed as 255340

Powered by Google App Engine
This is Rietveld 408576698