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

Side by Side Diff: chromeos/dbus/fake_bluetooth_agent_manager_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_AGENT_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_BLUETOOTH_AGENT_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_AGENT_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_AGENT_MANAGER_CLIENT_H_
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
11 #include "chromeos/chromeos_export.h" 11 #include "chromeos/chromeos_export.h"
12 #include "chromeos/dbus/bluetooth_agent_manager_client.h" 12 #include "chromeos/dbus/bluetooth_agent_manager_client.h"
13 #include "chromeos/dbus/dbus_client_implementation_type.h"
14 #include "dbus/object_path.h" 13 #include "dbus/object_path.h"
15 #include "dbus/property.h" 14 #include "dbus/property.h"
16 15
17 namespace chromeos { 16 namespace chromeos {
18 17
19 class FakeBluetoothAgentServiceProvider; 18 class FakeBluetoothAgentServiceProvider;
20 19
21 // FakeBluetoothAgentManagerClient simulates the behavior of the Bluetooth 20 // FakeBluetoothAgentManagerClient simulates the behavior of the Bluetooth
22 // Daemon's agent manager object and is used both in test cases in place of a 21 // Daemon's agent manager object and is used both in test cases in place of a
23 // mock and on the Linux desktop. 22 // mock and on the Linux desktop.
(...skipping 26 matching lines...) Expand all
50 49
51 private: 50 private:
52 // The single agent service provider we permit, owned by the application 51 // The single agent service provider we permit, owned by the application
53 // using it. 52 // using it.
54 FakeBluetoothAgentServiceProvider* service_provider_; 53 FakeBluetoothAgentServiceProvider* service_provider_;
55 }; 54 };
56 55
57 } // namespace chromeos 56 } // namespace chromeos
58 57
59 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_AGENT_MANAGER_CLIENT_H_ 58 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_AGENT_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_bluetooth_adapter_client.h ('k') | chromeos/dbus/fake_bluetooth_agent_service_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698