Index: chrome/browser/android/chromium_application.cc |
diff --git a/chrome/browser/android/chromium_application.cc b/chrome/browser/android/chromium_application.cc |
index 7b5a5a6b896b3ae50cf6b43df1c9021f2ae453b5..8b98d4318b06030620dc09d08dc4b6a490fca161 100644 |
--- a/chrome/browser/android/chromium_application.cc |
+++ b/chrome/browser/android/chromium_application.cc |
@@ -29,7 +29,7 @@ namespace { |
void FlushCookiesOnIOThread( |
scoped_refptr<net::URLRequestContextGetter> getter) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::IO); |
getter->GetURLRequestContext() |
->cookie_store() |
->GetCookieMonster() |
@@ -50,7 +50,7 @@ void CommitPendingWritesForProfile(Profile* profile) { |
void RemoveSessionCookiesOnIOThread( |
scoped_refptr<net::URLRequestContextGetter> getter) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::IO); |
getter->GetURLRequestContext()->cookie_store()->DeleteSessionCookiesAsync( |
net::CookieStore::DeleteCallback()); |
} |
@@ -64,7 +64,7 @@ void RemoveSessionCookiesForProfile(Profile* profile) { |
void ChangeAppStatusOnIOThread(SafeBrowsingService* sb_service, |
jboolean foreground) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::IO); |
SafeBrowsingProtocolManager* proto_manager = sb_service->protocol_manager(); |
if (proto_manager) |
proto_manager->SetAppInForeground(foreground); |