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

Issue 340055: String cleanup in sync code (Closed)

Created:
11 years, 1 month ago by Munjal (Google)
Modified:
9 years ago
Reviewers:
ncarter (slow)
CC:
chromium-reviews_googlegroups.com, ncarter (slow), Paul Godavari, ben+cc_chromium.org, John Grabowski, idana, pam+watch_chromium.org, Paweł Hajdan Jr., darin (slow to review), tim (not reviewing)
Visibility:
Public.

Description

Clean up the strings for sync code: - Use FilePath for real file paths. - Use std::string for PathString on Windows as well TODO in a separate CL: - Get rid of PathString typedef completely and directly use std::string everywhere. - Use wchar_t in syncapi.h/.cc and get rid of sync_char16. TEST=Existing tests are sufficient since this CL does a lot of code refactoring. BUG=26342 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30970

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 29

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+401 lines, -1424 lines) Patch
M chrome/browser/sync/engine/apply_updates_command_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/sync/engine/auth_watcher.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/sync/engine/auth_watcher_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/build_commit_command.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/sync/engine/download_updates_command.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/sync/engine/net/server_connection_manager.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/sync/engine/net/url_translator.cc View 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/sync/engine/process_commit_response_command.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/sync/engine/process_updates_command.cc View 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/sync/engine/syncapi.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync/engine/syncapi.cc View 1 2 3 4 5 6 7 8 9 10 15 chunks +20 lines, -56 lines 0 comments Download
M chrome/browser/sync/engine/syncer.cc View 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/sync/engine/syncer_proto_util.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -15 lines 0 comments Download
M chrome/browser/sync/engine/syncer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/sync/engine/syncer_util.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -8 lines 0 comments Download
M chrome/browser/sync/engine/verify_updates_command.cc View 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/sync_backend_host.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -8 lines 0 comments Download
M chrome/browser/sync/syncable/directory_backing_store.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/syncable/directory_backing_store.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/sync/syncable/directory_manager.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/sync/syncable/directory_manager.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +12 lines, -14 lines 0 comments Download
M chrome/browser/sync/syncable/syncable.h View 1 2 3 4 5 6 7 8 9 10 9 chunks +10 lines, -13 lines 0 comments Download
M chrome/browser/sync/syncable/syncable.cc View 1 2 3 4 5 6 7 8 9 10 15 chunks +22 lines, -145 lines 0 comments Download
M chrome/browser/sync/syncable/syncable_unittest.cc View 1 2 3 4 5 6 7 8 9 10 15 chunks +25 lines, -42 lines 0 comments Download
M chrome/browser/sync/util/character_set_converters.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -225 lines 0 comments Download
M chrome/browser/sync/util/character_set_converters.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +36 lines, -43 lines 0 comments Download
M chrome/browser/sync/util/character_set_converters_posix.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -46 lines 0 comments Download
M chrome/browser/sync/util/character_set_converters_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -140 lines 0 comments Download
M chrome/browser/sync/util/character_set_converters_win.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +7 lines, -49 lines 0 comments Download
M chrome/browser/sync/util/compat_file.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -33 lines 0 comments Download
M chrome/browser/sync/util/compat_file_posix.cc View 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -13 lines 0 comments Download
M chrome/browser/sync/util/compat_file_win.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -14 lines 0 comments Download
M chrome/browser/sync/util/path_helpers.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -27 lines 0 comments Download
M chrome/browser/sync/util/path_helpers.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -148 lines 0 comments Download
M chrome/browser/sync/util/path_helpers_linux.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/sync/util/path_helpers_mac.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/sync/util/path_helpers_posix.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -105 lines 0 comments Download
M chrome/browser/sync/util/path_helpers_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +51 lines, -102 lines 0 comments Download
A chrome/browser/sync/util/path_helpers_win.cc View 5 6 7 8 9 10 1 chunk +85 lines, -0 lines 0 comments Download
M chrome/browser/sync/util/query_helpers.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -8 lines 0 comments Download
M chrome/browser/sync/util/query_helpers.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +10 lines, -37 lines 0 comments Download
M chrome/browser/sync/util/query_helpers_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +18 lines, -9 lines 0 comments Download
M chrome/browser/sync/util/sync_types.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -26 lines 0 comments Download
M chrome/browser/sync/util/user_settings.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/sync/util/user_settings.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/sync/util/user_settings_unittest.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +15 lines, -11 lines 0 comments Download
M chrome/chrome.gyp View 5 6 7 8 9 10 4 chunks +3 lines, -4 lines 0 comments Download
M chrome/test/sync/engine/mock_server_connection.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/sync/engine/test_directory_setter_upper.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/sync/engine/test_directory_setter_upper.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +6 lines, -7 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Munjal (Google)
Others on sync please feel free to code review too.
11 years, 1 month ago (2009-11-01 23:05:59 UTC) #1
ncarter (slow)
I <3 this changelist. http://codereview.chromium.org/340055/diff/7019/184 File chrome/browser/sync/engine/syncer_proto_util.cc (right): http://codereview.chromium.org/340055/diff/7019/184#newcode247 Line 247: const SyncEntity& entry) { ...
11 years, 1 month ago (2009-11-02 23:44:45 UTC) #2
Munjal (Google)
http://codereview.chromium.org/340055/diff/7019/184 File chrome/browser/sync/engine/syncer_proto_util.cc (right): http://codereview.chromium.org/340055/diff/7019/184#newcode247 Line 247: const SyncEntity& entry) { On 2009/11/02 23:44:45, nick ...
11 years, 1 month ago (2009-11-03 01:58:23 UTC) #3
ncarter (slow)
11 years, 1 month ago (2009-11-03 19:48:12 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698