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

Unified Diff: chrome/browser/signin/signin_header_helper.cc

Issue 1106593002: [chrome/browser/se*-ss*] favor DCHECK_CURRENTLY_ON for better logs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « chrome/browser/sessions/session_data_deleter.cc ('k') | chrome/browser/signin/signin_names_io_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/signin_header_helper.cc
diff --git a/chrome/browser/signin/signin_header_helper.cc b/chrome/browser/signin/signin_header_helper.cc
index 03872021ed57cb923a3951d244d816fedcc58a4e..3da46660098d597aa7a0b079e8374391f0b28fd7 100644
--- a/chrome/browser/signin/signin_header_helper.cc
+++ b/chrome/browser/signin/signin_header_helper.cc
@@ -125,7 +125,7 @@ signin::ManageAccountsParams BuildManageAccountsParams(
void ProcessMirrorHeaderUIThread(
int child_id, int route_id,
signin::ManageAccountsParams manage_accounts_params) {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
signin::GAIAServiceType service_type = manage_accounts_params.service_type;
DCHECK_NE(signin::GAIA_SERVICE_TYPE_NONE, service_type);
@@ -200,7 +200,7 @@ bool AppendMirrorRequestHeaderIfPossible(
ProfileIOData* io_data,
int child_id,
int route_id) {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO));
+ DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
if (io_data->IsOffTheRecord())
return false;
@@ -279,7 +279,7 @@ void ProcessMirrorResponseHeaderIfExists(
#if defined(OS_IOS)
NOTREACHED();
#else
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO));
+ DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
if (!gaia::IsGaiaSignonRealm(request->url().GetOrigin()))
return;
« no previous file with comments | « chrome/browser/sessions/session_data_deleter.cc ('k') | chrome/browser/signin/signin_names_io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698