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

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

Issue 91413002: Remove fake client creation from DBusClients' Create() functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_FAKE_BLUETOOTH_INPUT_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_BLUETOOTH_INPUT_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_INPUT_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_INPUT_CLIENT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "chromeos/chromeos_export.h" 10 #include "chromeos/chromeos_export.h"
11 #include "chromeos/dbus/bluetooth_input_client.h" 11 #include "chromeos/dbus/bluetooth_input_client.h"
12 #include "chromeos/dbus/dbus_client_implementation_type.h"
13 #include "dbus/object_path.h" 12 #include "dbus/object_path.h"
14 #include "dbus/property.h" 13 #include "dbus/property.h"
15 14
16 namespace chromeos { 15 namespace chromeos {
17 16
18 // FakeBluetoothInputClient simulates the behavior of the Bluetooth Daemon 17 // FakeBluetoothInputClient simulates the behavior of the Bluetooth Daemon
19 // input device objects and is used both in test cases in place of a mock and on 18 // input device objects and is used both in test cases in place of a mock and on
20 // the Linux desktop. 19 // the Linux desktop.
21 class CHROMEOS_EXPORT FakeBluetoothInputClient 20 class CHROMEOS_EXPORT FakeBluetoothInputClient
22 : public BluetoothInputClient { 21 : public BluetoothInputClient {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 57
59 // List of observers interested in event notifications from us. 58 // List of observers interested in event notifications from us.
60 ObserverList<Observer> observers_; 59 ObserverList<Observer> observers_;
61 60
62 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothInputClient); 61 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothInputClient);
63 }; 62 };
64 63
65 } // namespace chromeos 64 } // namespace chromeos
66 65
67 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_INPUT_CLIENT_H_ 66 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_INPUT_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_bluetooth_device_client.h ('k') | chromeos/dbus/fake_bluetooth_profile_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698