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

Unified Diff: chrome/browser/profile_resetter/profile_resetter_browsertest.cc

Issue 1107863002: [chrome/browser/profile_resetter] 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
Index: chrome/browser/profile_resetter/profile_resetter_browsertest.cc
diff --git a/chrome/browser/profile_resetter/profile_resetter_browsertest.cc b/chrome/browser/profile_resetter/profile_resetter_browsertest.cc
index 8c1b3210538d239b4f59a5daafe65aa0c2fb7450..8b0581b66687b35276b582c528ca6ed9139ad6a9 100644
--- a/chrome/browser/profile_resetter/profile_resetter_browsertest.cc
+++ b/chrome/browser/profile_resetter/profile_resetter_browsertest.cc
@@ -90,7 +90,7 @@ void RemoveCookieTester::AddCookie(const std::string& host,
void RemoveCookieTester::GetCookieOnIOThread(
net::URLRequestContextGetter* context_getter,
const std::string& host) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
+ DCHECK_CURRENTLY_ON(BrowserThread::IO);
net::CookieStore* cookie_store = context_getter->
GetURLRequestContext()->cookie_store();
cookie_store->GetCookiesWithOptionsAsync(
@@ -103,7 +103,7 @@ void RemoveCookieTester::SetCookieOnIOThread(
net::URLRequestContextGetter* context_getter,
const std::string& host,
const std::string& definition) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
+ DCHECK_CURRENTLY_ON(BrowserThread::IO);
net::CookieStore* cookie_store = context_getter->
GetURLRequestContext()->cookie_store();
cookie_store->SetCookieWithOptionsAsync(
« no previous file with comments | « chrome/browser/profile_resetter/profile_resetter.cc ('k') | chrome/browser/profile_resetter/resettable_settings_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698