Index: chrome/browser/sync/glue/extension_setting_data_type_controller.cc |
diff --git a/chrome/browser/sync/glue/extension_setting_data_type_controller.cc b/chrome/browser/sync/glue/extension_setting_data_type_controller.cc |
index 9e015d9ae815968573973d3527b015736f4bb5df..8d269e57592e053a40299248797759014dbcd21d 100644 |
--- a/chrome/browser/sync/glue/extension_setting_data_type_controller.cc |
+++ b/chrome/browser/sync/glue/extension_setting_data_type_controller.cc |
@@ -29,7 +29,7 @@ ExtensionSettingDataTypeController::ExtensionSettingDataTypeController( |
profile_sync_factory), |
type_(type), |
profile_(profile) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
DCHECK(type == syncer::EXTENSION_SETTINGS || type == syncer::APP_SETTINGS); |
} |
@@ -47,12 +47,12 @@ ExtensionSettingDataTypeController::~ExtensionSettingDataTypeController() {} |
bool ExtensionSettingDataTypeController::PostTaskOnBackendThread( |
const tracked_objects::Location& from_here, |
const base::Closure& task) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
return BrowserThread::PostTask(BrowserThread::FILE, from_here, task); |
} |
bool ExtensionSettingDataTypeController::StartModels() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
extensions::ExtensionSystem::Get(profile_)->InitForRegularProfile(true); |
return true; |
} |