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

Unified Diff: chrome/browser/extensions/extension_action_manager.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/extensions/extension_action_manager.cc
diff --git a/chrome/browser/extensions/extension_action_manager.cc b/chrome/browser/extensions/extension_action_manager.cc
index 45a52d9fb0c7fdd358eeb2500b72dc3ad81c4cfd..1c578d4f559c44d0fbc3d814794fb756c0ed362c 100644
--- a/chrome/browser/extensions/extension_action_manager.cc
+++ b/chrome/browser/extensions/extension_action_manager.cc
@@ -61,8 +61,8 @@ ExtensionActionManagerFactory::GetInstance() {
ExtensionActionManager::ExtensionActionManager(Profile* profile)
: profile_(profile), extension_registry_observer_(this) {
- CHECK_EQ(profile, profile->GetOriginalProfile())
- << "Don't instantiate this with an incognito profile.";
+ // Don't instantiate this with an incognito profile.
+ CHECK_EQ(profile, profile->GetOriginalProfile());
extension_registry_observer_.Add(ExtensionRegistry::Get(profile_));
}

Powered by Google App Engine
This is Rietveld 408576698