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

Unified Diff: chrome/browser/sync/glue/data_type_manager_impl.cc

Issue 6544009: Merge 72458 - [SYNC] Speculative fix for autofill change processor destroying... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/648/src/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/data_type_manager_impl.cc
===================================================================
--- chrome/browser/sync/glue/data_type_manager_impl.cc (revision 75345)
+++ chrome/browser/sync/glue/data_type_manager_impl.cc (working copy)
@@ -358,7 +358,8 @@
for (DataTypeController::TypeMap::const_iterator it = controllers_.begin();
it != controllers_.end(); ++it) {
DataTypeController* dtc = (*it).second;
- if (dtc->state() == DataTypeController::RUNNING) {
+ if (dtc->state() != DataTypeController::NOT_RUNNING &&
+ dtc->state() != DataTypeController::STOPPING) {
dtc->Stop();
VLOG(1) << "Stopped " << dtc->name();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698