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

Side by Side Diff: chromeos/dbus/fake_bluetooth_gatt_descriptor_service_provider.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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FAKE_BLUETOOTH_GATT_DESCRIPTOR_SERVICE_PROVIDER_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_BLUETOOTH_GATT_DESCRIPTOR_SERVICE_PROVIDER_H_
6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_GATT_DESCRIPTOR_SERVICE_PROVIDER_H_ 6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_GATT_DESCRIPTOR_SERVICE_PROVIDER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 11 matching lines...) Expand all
22 public: 22 public:
23 FakeBluetoothGattDescriptorServiceProvider( 23 FakeBluetoothGattDescriptorServiceProvider(
24 const dbus::ObjectPath& object_path, 24 const dbus::ObjectPath& object_path,
25 Delegate* delegate, 25 Delegate* delegate,
26 const std::string& uuid, 26 const std::string& uuid,
27 const std::vector<std::string>& permissions, 27 const std::vector<std::string>& permissions,
28 const dbus::ObjectPath& characteristic_path); 28 const dbus::ObjectPath& characteristic_path);
29 virtual ~FakeBluetoothGattDescriptorServiceProvider(); 29 virtual ~FakeBluetoothGattDescriptorServiceProvider();
30 30
31 // BluetoothGattDescriptorServiceProvider override. 31 // BluetoothGattDescriptorServiceProvider override.
32 virtual void SendValueChanged(const std::vector<uint8>& value) OVERRIDE; 32 virtual void SendValueChanged(const std::vector<uint8>& value) override;
33 33
34 // Methods to simulate value get/set requests issued from a remote device. The 34 // Methods to simulate value get/set requests issued from a remote device. The
35 // methods do nothing, if the associated service was not registered with the 35 // methods do nothing, if the associated service was not registered with the
36 // GATT manager. 36 // GATT manager.
37 void GetValue(const Delegate::ValueCallback& callback, 37 void GetValue(const Delegate::ValueCallback& callback,
38 const Delegate::ErrorCallback& error_callback); 38 const Delegate::ErrorCallback& error_callback);
39 void SetValue(const std::vector<uint8>& value, 39 void SetValue(const std::vector<uint8>& value,
40 const base::Closure& callback, 40 const base::Closure& callback,
41 const Delegate::ErrorCallback& error_callback); 41 const Delegate::ErrorCallback& error_callback);
42 42
(...skipping 15 matching lines...) Expand all
58 58
59 // The delegate that method calls are passed on to. 59 // The delegate that method calls are passed on to.
60 Delegate* delegate_; 60 Delegate* delegate_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothGattDescriptorServiceProvider); 62 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothGattDescriptorServiceProvider);
63 }; 63 };
64 64
65 } // namespace chromeos 65 } // namespace chromeos
66 66
67 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_GATT_DESCRIPTOR_SERVICE_PROVIDER_H_ 67 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_GATT_DESCRIPTOR_SERVICE_PROVIDER_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_bluetooth_gatt_descriptor_client.h ('k') | chromeos/dbus/fake_bluetooth_gatt_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698