summaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
authordmichael <dmichael@chromium.org>2014-12-19 12:52:31 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-19 20:54:09 +0000
commit8870f99e026219fc9021e49879de21340afdf0ee (patch)
tree68f8bca11abf20e5e2f09d7779ddb3ab312a0c9b /dbus
parentf62e152bb7a13135a597d9766eb79551d3a24a73 (diff)
downloadchromium_src-8870f99e026219fc9021e49879de21340afdf0ee.zip
chromium_src-8870f99e026219fc9021e49879de21340afdf0ee.tar.gz
chromium_src-8870f99e026219fc9021e49879de21340afdf0ee.tar.bz2
Fix some override usage in dbus/
Currently, the Clang style checker ignores templates. In order to turn it on, we first must fix latent style violations. This CL covers dbus/ BUG=441916 TBR=stevenjb@chromium.org Review URL: https://codereview.chromium.org/813403002 Cr-Commit-Position: refs/heads/master@{#309253}
Diffstat (limited to 'dbus')
-rw-r--r--dbus/property.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbus/property.h b/dbus/property.h
index a20e0ad..ea893dc 100644
--- a/dbus/property.h
+++ b/dbus/property.h
@@ -376,17 +376,17 @@ class CHROME_DBUS_EXPORT Property : public PropertyBase {
// Method used by PropertySet to retrieve the value from a MessageReader,
// no knowledge of the contained type is required, this method returns
// true if its expected type was found, false if not.
- virtual bool PopValueFromReader(MessageReader*);
+ bool PopValueFromReader(MessageReader*) override;
// Method used by PropertySet to append the set value to a MessageWriter,
// no knowledge of the contained type is required.
// Implementation provided by specialization.
- virtual void AppendSetValueToWriter(MessageWriter* writer);
+ void AppendSetValueToWriter(MessageWriter* writer) override;
// Method used by test and stub implementations of dbus::PropertySet::Set
// to replace the property value with the set value without using a
// dbus::MessageReader.
- virtual void ReplaceValueWithSetValue() {
+ void ReplaceValueWithSetValue() override {
value_ = set_value_;
property_set()->NotifyPropertyChanged(name());
}