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

Issue 71183002: Implement SyncEngine::DumpFiles() (Closed)

Created:
7 years, 1 month ago by keishi
Modified:
7 years, 1 month ago
Reviewers:
kinuko, nhiroki, tzik
CC:
chromium-reviews, nhiroki+watch_chromium.org, kinuko+watch, tzik
Visibility:
Public.

Description

Implement SyncEngine::DumpFiles() Implemented SyncEngine::DumpFiles and MetadataDatabaseTest.DumpFiles. Dumps all the file trackers for the given app. TEST=Automated. Unit test MetadataDatabaseTest.DumpFiles. BUG=None. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235082

Patch Set 1 #

Patch Set 2 : Added comment #

Total comments: 9

Patch Set 3 : Check has_synced_details #

Total comments: 6

Patch Set 4 : #

Total comments: 2

Patch Set 5 : Added include #

Patch Set 6 : Fixed string type issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -9 lines) Patch
M chrome/browser/sync_file_system/drive_backend/drive_backend_util.h View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc View 1 2 3 4 2 chunks +14 lines, -2 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/metadata_database.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/metadata_database.cc View 1 2 3 4 5 1 chunk +57 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc View 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
keishi
7 years, 1 month ago (2013-11-13 05:53:27 UTC) #1
tzik
Thanks for helping us. https://codereview.chromium.org/71183002/diff/30001/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/71183002/diff/30001/chrome/browser/sync_file_system/drive_backend/metadata_database.cc#newcode1536 chrome/browser/sync_file_system/drive_backend/metadata_database.cc:1536: BuildPathForTracker(tracker->tracker_id(), &path); This will fail ...
7 years, 1 month ago (2013-11-13 06:16:25 UTC) #2
nhiroki
https://codereview.chromium.org/71183002/diff/30001/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/71183002/diff/30001/chrome/browser/sync_file_system/drive_backend/metadata_database.cc#newcode1500 chrome/browser/sync_file_system/drive_backend/metadata_database.cc:1500: std::string FileKindToString(FileKind file_kind) { How about moving this somewhere ...
7 years, 1 month ago (2013-11-13 06:36:59 UTC) #3
keishi
https://codereview.chromium.org/71183002/diff/30001/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/71183002/diff/30001/chrome/browser/sync_file_system/drive_backend/metadata_database.cc#newcode1500 chrome/browser/sync_file_system/drive_backend/metadata_database.cc:1500: std::string FileKindToString(FileKind file_kind) { On 2013/11/13 06:36:59, nhiroki wrote: ...
7 years, 1 month ago (2013-11-13 07:10:59 UTC) #4
tzik
https://codereview.chromium.org/71183002/diff/90001/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/71183002/diff/90001/chrome/browser/sync_file_system/drive_backend/drive_backend_util.h#newcode46 chrome/browser/sync_file_system/drive_backend/drive_backend_util.h:46: std::string FileKindToString(int file_kind); s/int/FileKind/? https://codereview.chromium.org/71183002/diff/90001/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/71183002/diff/90001/chrome/browser/sync_file_system/drive_backend/metadata_database.cc#newcode1535 ...
7 years, 1 month ago (2013-11-13 07:27:43 UTC) #5
keishi
https://codereview.chromium.org/71183002/diff/90001/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/71183002/diff/90001/chrome/browser/sync_file_system/drive_backend/drive_backend_util.h#newcode46 chrome/browser/sync_file_system/drive_backend/drive_backend_util.h:46: std::string FileKindToString(int file_kind); On 2013/11/13 07:27:44, tzik wrote: > ...
7 years, 1 month ago (2013-11-13 07:47:03 UTC) #6
nhiroki
LGTM https://codereview.chromium.org/71183002/diff/30001/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/71183002/diff/30001/chrome/browser/sync_file_system/drive_backend/metadata_database.cc#newcode1536 chrome/browser/sync_file_system/drive_backend/metadata_database.cc:1536: BuildPathForTracker(tracker->tracker_id(), &path); On 2013/11/13 07:10:59, keishi1 wrote: > ...
7 years, 1 month ago (2013-11-13 08:50:04 UTC) #7
keishi
https://codereview.chromium.org/71183002/diff/140001/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/71183002/diff/140001/chrome/browser/sync_file_system/drive_backend/drive_backend_util.h#newcode42 chrome/browser/sync_file_system/drive_backend/drive_backend_util.h:42: std::string FileKindToString(FileKind file_kind); On 2013/11/13 08:50:05, nhiroki wrote: > ...
7 years, 1 month ago (2013-11-13 09:00:18 UTC) #8
tzik
LGTM
7 years, 1 month ago (2013-11-13 09:27:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/71183002/230001
7 years, 1 month ago (2013-11-13 09:50:52 UTC) #10
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-11-13 11:20:59 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/71183002/470001
7 years, 1 month ago (2013-11-13 12:11:11 UTC) #12
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 1 month ago (2013-11-13 12:17:40 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/71183002/470001
7 years, 1 month ago (2013-11-14 03:11:03 UTC) #14
commit-bot: I haz the power
7 years, 1 month ago (2013-11-14 07:06:25 UTC) #15
Message was sent while issue was closed.
Change committed as 235082

Powered by Google App Engine
This is Rietveld 408576698