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

Issue 8312001: Revert 105668 - When StartFailed for a datatype the fix is to call StopAssociation which would ca... (Closed)

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

Description

Revert 105668 - When StartFailed for a datatype the fix is to call StopAssociation which would call DisassociateModel and clear off the change processor and model associator. When stop is called later on the same datatype we dont call StopAssociationAsync any more (which would be implemented in the datatypes' sub class) if the datatype never started succesfully. (The assertion was in this code because we were calling StopAssociationAsync on a datatype that failed to start). BUG=100057 TEST= Review URL: http://codereview.chromium.org/8305006 TBR=lipalani@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105674

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -32 lines) Patch
M chrome/browser/sync/glue/non_frontend_data_type_controller.cc View 2 chunks +24 lines, -31 lines 0 comments Download
M chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 1 (0 generated)
lipalani1
9 years, 2 months ago (2011-10-15 17:38:53 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698