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

Issue 250001: Second attempt at the new syncer thread impl, now with less crashes!... (Closed)

Created:
11 years, 2 months ago by tim (not reviewing)
Modified:
9 years, 6 months ago
Reviewers:
chron_chromium.org
CC:
chromium-reviews_googlegroups.com, ncarter (slow), idana, Ben Goodger (Google), Paweł Hajdan Jr.
Visibility:
Public.

Description

Second attempt at the new syncer thread impl, now with less crashes! Previous one at http://codereview.chromium.org/214033. I had local edits that resulted in initializing the CommandLine for syncapi, but didn't have them as part of the patch, so this was causing a crash whenever SyncerThreadFactory::Create was called. The only diff here is the call to CommandLine::Init in syncapi.cc. This effectively means you can't change the syncer thread impl on linux (we init an empty command line there), but this is OK. Once we link statically we won't need to do this. TEST=ProfileSyncServiceTest, SyncerThreadTest, SyncerThreadWithSyncerTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=27281

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+598 lines, -252 lines) Patch
M chrome/browser/sync/engine/syncapi.cc View 1 2 5 chunks +13 lines, -6 lines 0 comments Download
M chrome/browser/sync/engine/syncer_thread.h View 2 9 chunks +122 lines, -68 lines 0 comments Download
M chrome/browser/sync/engine/syncer_thread.cc View 2 16 chunks +198 lines, -117 lines 0 comments Download
M chrome/browser/sync/engine/syncer_thread_unittest.cc View 1 2 18 chunks +188 lines, -56 lines 0 comments Download
M chrome/chrome.gyp View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/test/sync/engine/mock_server_connection.h View 1 2 3 chunks +8 lines, -1 line 0 comments Download
M chrome/test/sync/engine/mock_server_connection.cc View 1 2 5 chunks +18 lines, -4 lines 0 comments Download
M chrome/test/sync/engine/test_directory_setter_upper.h View 1 2 2 chunks +19 lines, -3 lines 0 comments Download
M chrome/test/sync/engine/test_directory_setter_upper.cc View 1 2 2 chunks +19 lines, -1 line 0 comments Download
A + chrome\browser\sync\engine\syncer_thread_pthreads.h View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome\browser\sync\engine\syncer_thread_pthreads.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome\browser\sync\engine\syncer_thread_timed_stop.h View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome\browser\sync\engine\syncer_thread_timed_stop.cc View 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
tim (not reviewing)
You'll notice syncer_thread.h/cc aren't in this Rietveld issue but they do show up as part ...
11 years, 2 months ago (2009-09-25 17:05:56 UTC) #1
tim (not reviewing)
On 2009/09/25 17:05:56, timsteele wrote: > You'll notice syncer_thread.h/cc aren't in this Rietveld issue but ...
11 years, 2 months ago (2009-09-25 18:39:32 UTC) #2
chron_chromium.org
11 years, 2 months ago (2009-09-25 20:16:59 UTC) #3
LGTM assuming nothing changed other than the one CommandLine::Init.

Powered by Google App Engine
This is Rietveld 408576698