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

Side by Side Diff: chromeos/dbus/nfc_property_set.h

Issue 628883002: replace OVERRIDE and FINAL with override and final in chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « chromeos/dbus/nfc_manager_client.cc ('k') | chromeos/dbus/nfc_record_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMEOS_DBUS_NFC_PROPERTY_SET_H_ 5 #ifndef CHROMEOS_DBUS_NFC_PROPERTY_SET_H_
6 #define CHROMEOS_DBUS_NFC_PROPERTY_SET_H_ 6 #define CHROMEOS_DBUS_NFC_PROPERTY_SET_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 15 matching lines...) Expand all
26 26
27 // Destructor; we don't hold on to any references or memory that needs 27 // Destructor; we don't hold on to any references or memory that needs
28 // explicit clean-up, but clang thinks we might. 28 // explicit clean-up, but clang thinks we might.
29 virtual ~NfcPropertySet(); 29 virtual ~NfcPropertySet();
30 30
31 // Caches |callback| so that it will be invoked after a call to GetAll() 31 // Caches |callback| so that it will be invoked after a call to GetAll()
32 // has successfully received all existing properties from the remote object. 32 // has successfully received all existing properties from the remote object.
33 void SetAllPropertiesReceivedCallback(const base::Closure& callback); 33 void SetAllPropertiesReceivedCallback(const base::Closure& callback);
34 34
35 // dbus::PropertySet overrides 35 // dbus::PropertySet overrides
36 virtual void ConnectSignals() OVERRIDE; 36 virtual void ConnectSignals() override;
37 virtual void Get(dbus::PropertyBase* property, 37 virtual void Get(dbus::PropertyBase* property,
38 GetCallback callback) OVERRIDE; 38 GetCallback callback) override;
39 virtual void GetAll() OVERRIDE; 39 virtual void GetAll() override;
40 virtual void OnGetAll(dbus::Response* response) OVERRIDE; 40 virtual void OnGetAll(dbus::Response* response) override;
41 virtual void Set(dbus::PropertyBase* property, 41 virtual void Set(dbus::PropertyBase* property,
42 SetCallback callback) OVERRIDE; 42 SetCallback callback) override;
43 virtual void ChangedReceived(dbus::Signal* signal) OVERRIDE; 43 virtual void ChangedReceived(dbus::Signal* signal) override;
44 44
45 protected: 45 protected:
46 const base::Closure& on_get_all_callback() { return on_get_all_callback_; } 46 const base::Closure& on_get_all_callback() { return on_get_all_callback_; }
47 47
48 private: 48 private:
49 // Optional callback used to notify clients when all properties were received 49 // Optional callback used to notify clients when all properties were received
50 // after a call to GetAll. 50 // after a call to GetAll.
51 base::Closure on_get_all_callback_; 51 base::Closure on_get_all_callback_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(NfcPropertySet); 53 DISALLOW_COPY_AND_ASSIGN(NfcPropertySet);
54 }; 54 };
55 55
56 } // namespace chromeos 56 } // namespace chromeos
57 57
58 #endif // CHROMEOS_DBUS_NFC_PROPERTY_SET_H_ 58 #endif // CHROMEOS_DBUS_NFC_PROPERTY_SET_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/nfc_manager_client.cc ('k') | chromeos/dbus/nfc_record_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698