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

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

Issue 394223002: Disable tab syncing when history saving is disabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 6 years, 4 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
Index: chrome/browser/sync/glue/non_frontend_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/non_frontend_data_type_controller.cc b/chrome/browser/sync/glue/non_frontend_data_type_controller.cc
index ee7819cad224d1af38d995f882ff5aaa290e2686..e20c3cc9df3a14e3993d9a01af1a0ab764f078c2 100644
--- a/chrome/browser/sync/glue/non_frontend_data_type_controller.cc
+++ b/chrome/browser/sync/glue/non_frontend_data_type_controller.cc
@@ -292,7 +292,6 @@ sync_driver::DataTypeController::State NonFrontendDataTypeController::state()
void NonFrontendDataTypeController::OnSingleDataTypeUnrecoverableError(
const syncer::SyncError& error) {
- DCHECK(IsOnBackendThread());
Andrew T Wilson (Slow) 2014/08/21 14:10:37 Nicolas there are a few things we noticed here: 1
Nicolas Zea 2014/08/26 17:59:30 I think you should be fine just calling DisableImp
Joao da Silva 2014/08/26 18:43:02 Thanks for clarifying, done. Unrelated to this CL
DCHECK_EQ(type(), error.model_type());
RecordUnrecoverableError(error.location(), error.message());
BrowserThread::PostTask(BrowserThread::UI, error.location(),

Powered by Google App Engine
This is Rietveld 408576698