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

Issue 6111012: sync: avoid creating a HistoryModelWorker unless it is needed. (Closed)

Created:
9 years, 11 months ago by tim (not reviewing)
Modified:
9 years, 6 months ago
Reviewers:
brettw, lipalani, lipalani1
CC:
chromium-reviews, Raghu Simha, ncarter (slow), idana, Paweł Hajdan Jr.
Visibility:
Public.

Description

sync: avoid creating a HistoryModelWorker unless it is needed. We typically add all known workers when Initializing the SyncBackendHost, but this one is causing crashes and isn't used by default. BUG=53916, 69561 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71337

Patch Set 1 #

Total comments: 5

Patch Set 2 : fix compile #

Total comments: 1

Patch Set 3 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -10 lines) Patch
M chrome/browser/sync/glue/sync_backend_host.cc View 1 1 chunk +9 lines, -3 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_password_unittest.cc View 1 2 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/sync/test_profile_sync_service.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
tim (not reviewing)
9 years, 11 months ago (2011-01-12 21:50:13 UTC) #1
tim (not reviewing)
+ brettw FYI
9 years, 11 months ago (2011-01-12 21:55:06 UTC) #2
lipalani
Just one comment. If you have a reason for not doing it that way then ...
9 years, 11 months ago (2011-01-12 22:02:52 UTC) #3
lipalani
http://codereview.chromium.org/6111012/diff/1/chrome/browser/sync/glue/sync_backend_host.cc File chrome/browser/sync/glue/sync_backend_host.cc (right): http://codereview.chromium.org/6111012/diff/1/chrome/browser/sync/glue/sync_backend_host.cc#newcode104 chrome/browser/sync/glue/sync_backend_host.cc:104: switches::kEnableSyncTypedUrls || types.count(syncable::TYPED_URLS))) { Also is this code compiling. ...
9 years, 11 months ago (2011-01-12 22:06:51 UTC) #4
tim (not reviewing)
http://codereview.chromium.org/6111012/diff/1/chrome/browser/sync/glue/sync_backend_host.cc File chrome/browser/sync/glue/sync_backend_host.cc (right): http://codereview.chromium.org/6111012/diff/1/chrome/browser/sync/glue/sync_backend_host.cc#newcode104 chrome/browser/sync/glue/sync_backend_host.cc:104: switches::kEnableSyncTypedUrls || types.count(syncable::TYPED_URLS))) { On 2011/01/12 22:06:51, lipalani wrote: ...
9 years, 11 months ago (2011-01-12 23:41:27 UTC) #5
lipalani
Sounds good about the unit test. And it is not possible to only have the ...
9 years, 11 months ago (2011-01-13 00:31:46 UTC) #6
brettw
http://codereview.chromium.org/6111012/diff/10001/chrome/browser/sync/glue/sync_backend_host.cc File chrome/browser/sync/glue/sync_backend_host.cc (right): http://codereview.chromium.org/6111012/diff/10001/chrome/browser/sync/glue/sync_backend_host.cc#newcode105 chrome/browser/sync/glue/sync_backend_host.cc:105: // TODO(tim): Bug 53916. HistoryModelWorker crashes, so avoid adding ...
9 years, 11 months ago (2011-01-13 03:31:53 UTC) #7
tim (not reviewing)
9 years, 11 months ago (2011-01-13 17:54:01 UTC) #8
On 2011/01/13 03:31:53, brettw wrote:
>
http://codereview.chromium.org/6111012/diff/10001/chrome/browser/sync/glue/sy...
> File chrome/browser/sync/glue/sync_backend_host.cc (right):
> 
>
http://codereview.chromium.org/6111012/diff/10001/chrome/browser/sync/glue/sy...
> chrome/browser/sync/glue/sync_backend_host.cc:105: // TODO(tim): Bug 53916. 
> HistoryModelWorker crashes, so avoid adding it
> You may want to make a new bug in the sync component that you guys can track
> progress on the underlying crash. Then we can close the current bug which is
> blocking the release, which I think will make the release tracking & merging
> easier.

Filed 69561!

Powered by Google App Engine
This is Rietveld 408576698