refactor: chromium-style warnings in linux code (#12949)
This commit is contained in:
parent
2a161e1725
commit
da0fd10423
21 changed files with 41 additions and 36 deletions
|
@ -32,7 +32,7 @@ namespace atom {
|
|||
|
||||
PowerObserverLinux::PowerObserverLinux()
|
||||
: lock_owner_name_(get_executable_basename()), weak_ptr_factory_(this) {
|
||||
auto dbus_thread_manager = bluez::DBusThreadManagerLinux::Get();
|
||||
auto* dbus_thread_manager = bluez::DBusThreadManagerLinux::Get();
|
||||
if (dbus_thread_manager) {
|
||||
bus_ = dbus_thread_manager->GetSystemBus();
|
||||
if (bus_) {
|
||||
|
@ -49,6 +49,8 @@ PowerObserverLinux::PowerObserverLinux()
|
|||
}
|
||||
}
|
||||
|
||||
PowerObserverLinux::~PowerObserverLinux() = default;
|
||||
|
||||
void PowerObserverLinux::OnLoginServiceAvailable(bool service_available) {
|
||||
if (!service_available) {
|
||||
LOG(WARNING) << kLogindServiceName << " not available";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue