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

Issue 6874018: make new syncer thread the default. (Closed)

Created:
9 years, 8 months ago by lipalani1
Modified:
9 years, 7 months ago
Reviewers:
Raghu Simha
CC:
chromium-reviews
Visibility:
Public.

Description

make new syncer thread the default. Fixed all the test cases that failed. BUG=26339 TEST=unit_tests.exe, sync_integration_tests.exe, sync_unit_tests.exe. manual testcases: 1. Set up a brand new profile to sync and make sure it syncs. 2. enable/disable a datatype and make sure it syncs. 3. Make change to a datatype locally and make sure it gets propagated. 4. make change to a datatype remotely and make sure it syncs down. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=82026 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=82067 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=82150

Patch Set 1 #

Patch Set 2 : upload. #

Patch Set 3 : Make syncer thread the default. #

Patch Set 4 : Send for CR. #

Total comments: 20

Patch Set 5 : Fix CR feedback. #

Patch Set 6 : Fixing a lint error. #

Patch Set 7 : Fixing CR feedback. #

Total comments: 2

Patch Set 8 : Fixing CR feedback. #

Patch Set 9 : Need an owners approval. #

Patch Set 10 : Review for Raghu. #

Total comments: 1

Patch Set 11 : Upload before submit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1141 lines, -5434 lines) Patch
M chrome/browser/sync/engine/all_status.cc View 1 2 2 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/sync/engine/net/server_connection_manager.cc View 1 2 2 chunks +3 lines, -11 lines 0 comments Download
M chrome/browser/sync/engine/nudge_source.h View 1 2 3 4 3 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/sync/engine/syncapi.h View 2 chunks +0 lines, -20 lines 0 comments Download
M chrome/browser/sync/engine/syncapi.cc View 1 2 3 4 5 17 chunks +29 lines, -67 lines 0 comments Download
M chrome/browser/sync/engine/syncapi_unittest.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/sync/engine/syncer_end_command.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/engine/syncer_thread.h View 1 2 3 2 chunks +276 lines, -299 lines 0 comments Download
M chrome/browser/sync/engine/syncer_thread.cc View 1 2 10 2 chunks +707 lines, -742 lines 0 comments Download
D chrome/browser/sync/engine/syncer_thread2.h View 1 2 3 4 5 1 chunk +0 lines, -344 lines 0 comments Download
D chrome/browser/sync/engine/syncer_thread2.cc View 1 2 3 4 5 1 chunk +0 lines, -863 lines 0 comments Download
M chrome/browser/sync/engine/syncer_thread2_unittest.cc View 1 2 3 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/sync/engine/syncer_thread2_whitebox_unittest.cc View 1 2 3 chunks +2 lines, -6 lines 0 comments Download
D chrome/browser/sync/engine/syncer_thread_adapter.h View 1 2 3 4 5 1 chunk +0 lines, -60 lines 0 comments Download
D chrome/browser/sync/engine/syncer_thread_adapter.cc View 1 2 3 4 5 1 chunk +0 lines, -148 lines 0 comments Download
M chrome/browser/sync/engine/syncer_thread_unittest.cc View 1 1 chunk +0 lines, -1242 lines 0 comments Download
M chrome/browser/sync/engine/syncer_types.h View 1 2 3 4 2 chunks +1 line, -28 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager.h View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl.h View 1 2 3 4 5 6 7 4 chunks +6 lines, -28 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl.cc View 1 2 3 4 5 6 7 13 chunks +59 lines, -191 lines 0 comments Download
D chrome/browser/sync/glue/data_type_manager_impl2.h View 1 2 3 4 5 1 chunk +0 lines, -81 lines 0 comments Download
D chrome/browser/sync/glue/data_type_manager_impl2.cc View 1 2 3 4 5 1 chunk +0 lines, -363 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl2_unittest.cc View 1 2 3 15 chunks +15 lines, -15 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl_unittest.cc View 1 1 chunk +0 lines, -685 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host.h View 1 2 8 chunks +3 lines, -31 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host.cc View 1 2 13 chunks +17 lines, -99 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_mock.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_mock.cc View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/sync/js_sync_manager_observer.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/sync/js_sync_manager_observer.cc View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/sync/js_sync_manager_observer_unittest.cc View 1 2 2 chunks +1 line, -8 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_impl.cc View 1 2 3 3 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_password_unittest.cc View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/sessions/sync_session_context.h View 1 2 3 4 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/sync/sessions/sync_session_context.cc View 1 2 3 4 2 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/sync/test_profile_sync_service.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/sync/test_profile_sync_service.cc View 2 3 2 chunks +0 lines, -19 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -3 lines 0 comments Download
M content/common/notification_type.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -5 lines 0 comments Download
M jingle/notifier/listener/talk_mediator_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
lipalani1
Making syncer thread the default. Fixed all the unit tests. All the try bots pass ...
9 years, 8 months ago (2011-04-17 06:46:44 UTC) #1
tim (not reviewing)
http://codereview.chromium.org/6874018/diff/5001/chrome/browser/sync/engine/nudge_source.h File chrome/browser/sync/engine/nudge_source.h (right): http://codereview.chromium.org/6874018/diff/5001/chrome/browser/sync/engine/nudge_source.h#newcode20 chrome/browser/sync/engine/nudge_source.h:20: CLEAR_USER_PRIVATE_DATA What's this about? http://codereview.chromium.org/6874018/diff/5001/chrome/browser/sync/engine/syncapi.cc File chrome/browser/sync/engine/syncapi.cc (right): http://codereview.chromium.org/6874018/diff/5001/chrome/browser/sync/engine/syncapi.cc#newcode1676 ...
9 years, 8 months ago (2011-04-18 16:11:47 UTC) #2
tim (not reviewing)
in addition to comments, please update BUG= to reference 26339, and update the TEST=.
9 years, 8 months ago (2011-04-18 16:13:10 UTC) #3
lipalani1
Fixed or commented on the CR feedback. http://codereview.chromium.org/6874018/diff/5001/chrome/browser/sync/engine/nudge_source.h File chrome/browser/sync/engine/nudge_source.h (right): http://codereview.chromium.org/6874018/diff/5001/chrome/browser/sync/engine/nudge_source.h#newcode20 chrome/browser/sync/engine/nudge_source.h:20: CLEAR_USER_PRIVATE_DATA Was ...
9 years, 8 months ago (2011-04-18 20:36:41 UTC) #4
lipalani1
Fixing Tim's comments.
9 years, 8 months ago (2011-04-18 22:15:02 UTC) #5
lipalani1
Updating feedback.
9 years, 8 months ago (2011-04-18 22:22:26 UTC) #6
tim (not reviewing)
one more nit, then LGTM http://codereview.chromium.org/6874018/diff/6045/chrome/browser/sync/glue/data_type_manager_impl.cc File chrome/browser/sync/glue/data_type_manager_impl.cc (right): http://codereview.chromium.org/6874018/diff/6045/chrome/browser/sync/glue/data_type_manager_impl.cc#newcode367 chrome/browser/sync/glue/data_type_manager_impl.cc:367: state_ = state; unless ...
9 years, 8 months ago (2011-04-18 22:23:05 UTC) #7
lipalani1
Fixed the feeback.
9 years, 8 months ago (2011-04-18 22:28:48 UTC) #8
lipalani1
marked the feeback as done.(no code change) http://codereview.chromium.org/6874018/diff/6045/chrome/browser/sync/glue/data_type_manager_impl.cc File chrome/browser/sync/glue/data_type_manager_impl.cc (right): http://codereview.chromium.org/6874018/diff/6045/chrome/browser/sync/glue/data_type_manager_impl.cc#newcode367 chrome/browser/sync/glue/data_type_manager_impl.cc:367: state_ = ...
9 years, 8 months ago (2011-04-18 22:30:01 UTC) #9
lipalani1
need Brett's owners approval for chrome/content/common/notification_type.h
9 years, 8 months ago (2011-04-18 23:00:37 UTC) #10
brettw
I didn't really check the code but fewer notification types are better. LGTM
9 years, 8 months ago (2011-04-18 23:10:28 UTC) #11
lipalani1
need LGTM on the test file.
9 years, 8 months ago (2011-04-19 04:13:59 UTC) #12
lipalani1
9 years, 8 months ago (2011-04-19 04:21:44 UTC) #13
Raghu Simha
9 years, 8 months ago (2011-04-19 04:25:37 UTC) #14
Test change LGTM, based on the fact that it's a temporary change meant only for
debugging on the sync buildbots :)

http://codereview.chromium.org/6874018/diff/6046/chrome/test/live_sync/live_s...
File chrome/test/live_sync/live_sync_test.cc (right):

http://codereview.chromium.org/6874018/diff/6046/chrome/test/live_sync/live_s...
chrome/test/live_sync/live_sync_test.cc:111:
logging::SetMinLogLevel(logging::LOG_VERBOSE);
Ideally, this should require an include of "base/logging.h". However, I'm fine
with leaving this as it is if it is a temporary change that you intend to back
out.

Powered by Google App Engine
This is Rietveld 408576698