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

Unified Diff: chromeos/dbus/experimental_bluetooth_input_client.cc

Issue 14890005: Enable Clang warnings in .cc files for Linux+[Aura/ChromeOS] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 months 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
« no previous file with comments | « chromeos/cryptohome/cryptohome_library.cc ('k') | chromeos/network/network_state_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/experimental_bluetooth_input_client.cc
diff --git a/chromeos/dbus/experimental_bluetooth_input_client.cc b/chromeos/dbus/experimental_bluetooth_input_client.cc
index ee6bf4025e0432551446afacdc3cf72f391d42e1..e4febed01b71d5e07677c55b17fae8c6adf7bbdd 100644
--- a/chromeos/dbus/experimental_bluetooth_input_client.cc
+++ b/chromeos/dbus/experimental_bluetooth_input_client.cc
@@ -69,9 +69,10 @@ class ExperimentalBluetoothInputClientImpl
virtual dbus::PropertySet* CreateProperties(
dbus::ObjectProxy* object_proxy,
const dbus::ObjectPath& object_path,
- const std::string& interface_name) {
+ const std::string& interface_name) OVERRIDE {
Properties* properties = new Properties(
- object_proxy, interface_name,
+ object_proxy,
+ interface_name,
base::Bind(&ExperimentalBluetoothInputClientImpl::OnPropertyChanged,
weak_ptr_factory_.GetWeakPtr(),
object_path));
@@ -90,16 +91,16 @@ class ExperimentalBluetoothInputClientImpl
private:
// Called by dbus::ObjectManager when an object with the input interface
// is created. Informs observers.
- void ObjectAdded(const dbus::ObjectPath& object_path,
- const std::string& interface_name) OVERRIDE {
+ virtual void ObjectAdded(const dbus::ObjectPath& object_path,
+ const std::string& interface_name) OVERRIDE {
FOR_EACH_OBSERVER(ExperimentalBluetoothInputClient::Observer, observers_,
InputAdded(object_path));
}
// Called by dbus::ObjectManager when an object with the input interface
// is removed. Informs observers.
- void ObjectRemoved(const dbus::ObjectPath& object_path,
- const std::string& interface_name) OVERRIDE {
+ virtual void ObjectRemoved(const dbus::ObjectPath& object_path,
+ const std::string& interface_name) OVERRIDE {
FOR_EACH_OBSERVER(ExperimentalBluetoothInputClient::Observer, observers_,
InputRemoved(object_path));
}
« no previous file with comments | « chromeos/cryptohome/cryptohome_library.cc ('k') | chromeos/network/network_state_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698