Index: chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc |
diff --git a/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc b/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc |
index 02948a385a43c68a76dc5a4ba5bb4ec29e3d94d3..b120f7cdcd4b3fe9f021e73c1328172cb3b4d364 100644 |
--- a/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc |
+++ b/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc |
@@ -305,7 +305,7 @@ void AutomaticProfileResetterDelegateImpl::TriggerProfileSettingsReset( |
} |
void AutomaticProfileResetterDelegateImpl::OnTemplateURLServiceChanged() { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
DCHECK(template_url_service_); |
if (template_url_service_->loaded() && |
!template_url_service_ready_event_.is_signaled()) |
@@ -328,7 +328,7 @@ void AutomaticProfileResetterDelegateImpl::Observe( |
int type, |
const content::NotificationSource& source, |
const content::NotificationDetails& details) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
if (type == chrome::NOTIFICATION_MODULE_LIST_ENUMERATED && |
!modules_have_been_enumerated_event_.is_signaled()) { |
#if defined(OS_WIN) |
@@ -364,7 +364,7 @@ void AutomaticProfileResetterDelegateImpl::RunProfileSettingsReset( |
void AutomaticProfileResetterDelegateImpl:: |
OnBrandcodedDefaultsFetched() { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
DCHECK(brandcoded_config_fetcher_); |
DCHECK(!brandcoded_config_fetcher_->IsActive()); |
brandcoded_defaults_ = brandcoded_config_fetcher_->GetSettings(); |
@@ -376,7 +376,7 @@ void AutomaticProfileResetterDelegateImpl:: |
void AutomaticProfileResetterDelegateImpl::OnProfileSettingsResetCompleted( |
const base::Closure& user_callback, |
scoped_ptr<ResettableSettingsSnapshot> old_settings_snapshot) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
if (old_settings_snapshot) { |
ResettableSettingsSnapshot new_settings_snapshot(profile_); |
int difference = |