Index: chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc |
diff --git a/chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc b/chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc |
index d1780f924c33f7360b7c118c5dc4e761262b4890..263d03cb4383400d88b410081bee0b9d379dd798 100644 |
--- a/chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc |
+++ b/chrome/browser/chromeos/system_logs/debug_daemon_log_source.cc |
@@ -39,7 +39,7 @@ DebugDaemonLogSource::DebugDaemonLogSource(bool scrub) |
DebugDaemonLogSource::~DebugDaemonLogSource() {} |
void DebugDaemonLogSource::Fetch(const SysLogsSourceCallback& callback) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
DCHECK(!callback.is_null()); |
DCHECK(callback_.is_null()); |
@@ -77,7 +77,7 @@ void DebugDaemonLogSource::Fetch(const SysLogsSourceCallback& callback) { |
void DebugDaemonLogSource::OnGetRoutes(bool succeeded, |
const std::vector<std::string>& routes) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
if (succeeded) |
(*response_)[kRoutesKeyName] = JoinString(routes, '\n'); |
@@ -88,7 +88,7 @@ void DebugDaemonLogSource::OnGetRoutes(bool succeeded, |
void DebugDaemonLogSource::OnGetNetworkStatus(bool succeeded, |
const std::string& status) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
if (succeeded) |
(*response_)[kNetworkStatusKeyName] = status; |