| Index: chrome/browser/sync/glue/data_type_manager_impl.cc
|
| ===================================================================
|
| --- chrome/browser/sync/glue/data_type_manager_impl.cc (revision 94934)
|
| +++ chrome/browser/sync/glue/data_type_manager_impl.cc (working copy)
|
| @@ -218,7 +218,7 @@
|
| }
|
|
|
| void DataTypeManagerImpl::DownloadReady(bool success) {
|
| - DCHECK(state_ == DOWNLOAD_PENDING);
|
| + DCHECK_EQ(state_, DOWNLOAD_PENDING);
|
|
|
| if (!success) {
|
| NotifyDone(UNRECOVERABLE_ERROR, FROM_HERE);
|
| @@ -376,7 +376,8 @@
|
| }
|
|
|
| void DataTypeManagerImpl::FinishStop() {
|
| - DCHECK(state_== CONFIGURING || state_ == STOPPING || state_ == BLOCKED);
|
| + DCHECK(state_== CONFIGURING || state_ == STOPPING || state_ == BLOCKED ||
|
| + state_ == DOWNLOAD_PENDING);
|
| // Simply call the Stop() method on all running data types.
|
| for (DataTypeController::TypeMap::const_iterator it = controllers_.begin();
|
| it != controllers_.end(); ++it) {
|
|
|