summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/introspectable_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos/dbus/introspectable_client.cc')
-rw-r--r--chromeos/dbus/introspectable_client.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/chromeos/dbus/introspectable_client.cc b/chromeos/dbus/introspectable_client.cc
index 4b51755..9e56a99 100644
--- a/chromeos/dbus/introspectable_client.cc
+++ b/chromeos/dbus/introspectable_client.cc
@@ -34,13 +34,12 @@ class IntrospectableClientImpl : public IntrospectableClient {
public:
IntrospectableClientImpl() : bus_(NULL), weak_ptr_factory_(this) {}
- virtual ~IntrospectableClientImpl() {
- }
+ ~IntrospectableClientImpl() override {}
// IntrospectableClient override.
- virtual void Introspect(const std::string& service_name,
- const dbus::ObjectPath& object_path,
- const IntrospectCallback& callback) override {
+ void Introspect(const std::string& service_name,
+ const dbus::ObjectPath& object_path,
+ const IntrospectCallback& callback) override {
dbus::MethodCall method_call(kIntrospectableInterface, kIntrospect);
dbus::ObjectProxy* object_proxy = bus_->GetObjectProxy(service_name,
@@ -55,7 +54,7 @@ class IntrospectableClientImpl : public IntrospectableClient {
}
protected:
- virtual void Init(dbus::Bus* bus) override { bus_ = bus; }
+ void Init(dbus::Bus* bus) override { bus_ = bus; }
private:
// Called by dbus:: when a response for Introspect() is recieved.