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

Side by Side Diff: chromeos/dbus/fake_bluetooth_gatt_manager_client.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_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_BLUETOOTH_GATT_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_GATT_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_GATT_MANAGER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 12 matching lines...) Expand all
23 // FakeBluetoothGattManagerClient simulates the behavior of the Bluetooth 23 // FakeBluetoothGattManagerClient simulates the behavior of the Bluetooth
24 // daemon's GATT manager object and is used both in test cases in place of a 24 // daemon's GATT manager object and is used both in test cases in place of a
25 // mock and on the Linux desktop. 25 // mock and on the Linux desktop.
26 class CHROMEOS_EXPORT FakeBluetoothGattManagerClient 26 class CHROMEOS_EXPORT FakeBluetoothGattManagerClient
27 : public BluetoothGattManagerClient { 27 : public BluetoothGattManagerClient {
28 public: 28 public:
29 FakeBluetoothGattManagerClient(); 29 FakeBluetoothGattManagerClient();
30 virtual ~FakeBluetoothGattManagerClient(); 30 virtual ~FakeBluetoothGattManagerClient();
31 31
32 // DBusClient override. 32 // DBusClient override.
33 virtual void Init(dbus::Bus* bus) OVERRIDE; 33 virtual void Init(dbus::Bus* bus) override;
34 34
35 // BluetoothGattManagerClient overrides. 35 // BluetoothGattManagerClient overrides.
36 virtual void RegisterService(const dbus::ObjectPath& service_path, 36 virtual void RegisterService(const dbus::ObjectPath& service_path,
37 const Options& options, 37 const Options& options,
38 const base::Closure& callback, 38 const base::Closure& callback,
39 const ErrorCallback& error_callback) OVERRIDE; 39 const ErrorCallback& error_callback) override;
40 virtual void UnregisterService(const dbus::ObjectPath& service_path, 40 virtual void UnregisterService(const dbus::ObjectPath& service_path,
41 const base::Closure& callback, 41 const base::Closure& callback,
42 const ErrorCallback& error_callback) OVERRIDE; 42 const ErrorCallback& error_callback) override;
43 43
44 // Register, unregister, and retrieve pointers to service, characteristic, and 44 // Register, unregister, and retrieve pointers to service, characteristic, and
45 // descriptor service providers. Automatically called from the service 45 // descriptor service providers. Automatically called from the service
46 // provider constructor and destructors. 46 // provider constructor and destructors.
47 void RegisterServiceServiceProvider( 47 void RegisterServiceServiceProvider(
48 FakeBluetoothGattServiceServiceProvider* provider); 48 FakeBluetoothGattServiceServiceProvider* provider);
49 void RegisterCharacteristicServiceProvider( 49 void RegisterCharacteristicServiceProvider(
50 FakeBluetoothGattCharacteristicServiceProvider* provider); 50 FakeBluetoothGattCharacteristicServiceProvider* provider);
51 void RegisterDescriptorServiceProvider( 51 void RegisterDescriptorServiceProvider(
52 FakeBluetoothGattDescriptorServiceProvider* provider); 52 FakeBluetoothGattDescriptorServiceProvider* provider);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 ServiceMap service_map_; 93 ServiceMap service_map_;
94 CharacteristicMap characteristic_map_; 94 CharacteristicMap characteristic_map_;
95 DescriptorMap descriptor_map_; 95 DescriptorMap descriptor_map_;
96 96
97 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothGattManagerClient); 97 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothGattManagerClient);
98 }; 98 };
99 99
100 } // namespace chromeos 100 } // namespace chromeos
101 101
102 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_GATT_MANAGER_CLIENT_H_ 102 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_GATT_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_bluetooth_gatt_descriptor_service_provider.h ('k') | chromeos/dbus/fake_bluetooth_gatt_service_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698