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

Unified Diff: extensions/browser/app_window/app_window.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: extensions/browser/app_window/app_window.cc
diff --git a/extensions/browser/app_window/app_window.cc b/extensions/browser/app_window/app_window.cc
index 69126c3436afac97b927ac5384ec584ea7f58413..1cd997b67d4c62f822f22d78f03d4c6c66730940 100644
--- a/extensions/browser/app_window/app_window.cc
+++ b/extensions/browser/app_window/app_window.cc
@@ -252,8 +252,8 @@ AppWindow::AppWindow(BrowserContext* context,
show_in_shelf_(false),
image_loader_ptr_factory_(this) {
ExtensionsBrowserClient* client = ExtensionsBrowserClient::Get();
- CHECK(!client->IsGuestSession(context) || context->IsOffTheRecord())
- << "Only off the record window may be opened in the guest mode.";
+ // Only off the record window may be opened in the guest mode.
+ CHECK(!client->IsGuestSession(context) || context->IsOffTheRecord());
}
void AppWindow::Init(const GURL& url,

Powered by Google App Engine
This is Rietveld 408576698