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

Unified Diff: device/bluetooth/dbus/bluez_dbus_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: device/bluetooth/dbus/bluez_dbus_manager.cc
diff --git a/device/bluetooth/dbus/bluez_dbus_manager.cc b/device/bluetooth/dbus/bluez_dbus_manager.cc
index 99711d679ec75c5f2ad30e3071031c43bbe17214..8a07428d14d5592b82e7c7c8bd5ddf848bcee56f 100644
--- a/device/bluetooth/dbus/bluez_dbus_manager.cc
+++ b/device/bluetooth/dbus/bluez_dbus_manager.cc
@@ -55,7 +55,8 @@ BluezDBusManager::BluezDBusManager(dbus::Bus* bus, bool use_dbus_fakes)
return;
}
- CHECK(GetSystemBus()) << "Can't initialize real clients without DBus.";
+ // Can't initialize real clients without DBus.
+ CHECK(GetSystemBus());
dbus::MethodCall method_call(dbus::kObjectManagerInterface,
dbus::kObjectManagerGetManagedObjects);
GetSystemBus()
@@ -243,8 +244,8 @@ void BluezDBusManager::Shutdown() {
// static
BluezDBusManager* bluez::BluezDBusManager::Get() {
- CHECK(g_bluez_dbus_manager)
- << "bluez::BluezDBusManager::Get() called before Initialize()";
+ // bluez::BluezDBusManager::Get() called before Initialize()
+ CHECK(g_bluez_dbus_manager);
return g_bluez_dbus_manager;
}

Powered by Google App Engine
This is Rietveld 408576698