Skip to content

Commit

Permalink
chromeos::dbus lint errors.
Browse files Browse the repository at this point in the history
Fix lint issues.

BUG=453873

Review URL: https://codereview.chromium.org/900793007

Cr-Commit-Position: refs/heads/master@{#315421}
  • Loading branch information
dtapuska authored and Commit bot committed Feb 9, 2015
1 parent e635757 commit 1d622f0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions chromeos/dbus/dbus_client_bundle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#include "chromeos/dbus/dbus_client_bundle.h"

#include <vector>

#include "base/command_line.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
Expand Down
4 changes: 3 additions & 1 deletion chromeos/dbus/dbus_client_bundle.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
#ifndef CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_
#define CHROMEOS_DBUS_DBUS_CLIENT_BUNDLE_H_

#include <string>

#include "base/memory/scoped_ptr.h"
#include "chromeos/chromeos_export.h"

Expand Down Expand Up @@ -119,8 +121,8 @@ class CHROMEOS_EXPORT DBusClientBundle {

BluetoothGattDescriptorClient* bluetooth_gatt_descriptor_client() {
return bluetooth_gatt_descriptor_client_.get();

}

BluetoothGattManagerClient* bluetooth_gatt_manager_client() {
return bluetooth_gatt_manager_client_.get();
}
Expand Down
5 changes: 4 additions & 1 deletion dbus/test_service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

#include "dbus/test_service.h"

#include <string>
#include <vector>

#include "base/bind.h"
#include "base/test/test_timeouts.h"
#include "base/threading/platform_thread.h"
Expand Down Expand Up @@ -485,7 +488,7 @@ void TestService::PerformAction(
RemoveObject(object_path);
} else if (action == "SetSendImmediatePropertiesChanged") {
SetSendImmediatePropertiesChanged();
} if (action == "ReleaseOwnership") {
} else if (action == "ReleaseOwnership") {
ReleaseOwnership(base::Bind(&TestService::PerformActionResponse,
base::Unretained(this),
method_call, response_sender));
Expand Down

0 comments on commit 1d622f0

Please sign in to comment.