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

Unified Diff: chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years 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/ui/webui/chromeos/login/inline_login_handler_chromeos.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc b/chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc
index 1d6d739dbb905fbef65228bd9203defdc05e0a77..0d778c0d37ede304679feea82b8b0ab473e88f2c 100644
--- a/chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc
+++ b/chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.cc
@@ -76,15 +76,18 @@ void InlineLoginHandlerChromeOS::CompleteLogin(const base::ListValue* args) {
std::string session_index;
dict->GetString("sessionIndex", &session_index);
- CHECK(!session_index.empty()) << "Session index is empty.";
+ // Session index is empty.
+ CHECK(!session_index.empty());
std::string email;
dict->GetString("email", &email);
- CHECK(!email.empty()) << "Email is empty.";
+ // Email is empty.
+ CHECK(!email.empty());
std::string gaia_id;
dict->GetString("gaiaId", &gaia_id);
- CHECK(!gaia_id.empty()) << "Gaia ID is empty.";
+ // Gaia ID is empty.
+ CHECK(!gaia_id.empty());
AccountTrackerService* account_tracker =
AccountTrackerServiceFactory::GetForProfile(profile);

Powered by Google App Engine
This is Rietveld 408576698