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

Side by Side Diff: chromeos/dbus/fake_bluetooth_profile_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_PROFILE_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_BLUETOOTH_PROFILE_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_PROFILE_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_PROFILE_MANAGER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/observer_list.h" 13 #include "base/observer_list.h"
14 #include "chromeos/chromeos_export.h" 14 #include "chromeos/chromeos_export.h"
15 #include "chromeos/dbus/bluetooth_profile_manager_client.h" 15 #include "chromeos/dbus/bluetooth_profile_manager_client.h"
16 #include "chromeos/dbus/dbus_client_implementation_type.h"
17 #include "dbus/object_path.h" 16 #include "dbus/object_path.h"
18 #include "dbus/property.h" 17 #include "dbus/property.h"
19 18
20 namespace chromeos { 19 namespace chromeos {
21 20
22 class FakeBluetoothProfileServiceProvider; 21 class FakeBluetoothProfileServiceProvider;
23 22
24 // FakeBluetoothProfileManagerClient simulates the behavior of the Bluetooth 23 // FakeBluetoothProfileManagerClient simulates the behavior of the Bluetooth
25 // Daemon's profile manager object and is used both in test cases in place of a 24 // Daemon's profile manager object and is used both in test cases in place of a
26 // mock and on the Linux desktop. 25 // mock and on the Linux desktop.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // Map of Profile UUID to the D-Bus object path of the service provider 64 // Map of Profile UUID to the D-Bus object path of the service provider
66 // in |service_provider_map_|. Maintained by RegisterProfile() and 65 // in |service_provider_map_|. Maintained by RegisterProfile() and
67 // UnregisterProfile() in response to BluetoothProfile methods. 66 // UnregisterProfile() in response to BluetoothProfile methods.
68 typedef std::map<std::string, dbus::ObjectPath> ProfileMap; 67 typedef std::map<std::string, dbus::ObjectPath> ProfileMap;
69 ProfileMap profile_map_; 68 ProfileMap profile_map_;
70 }; 69 };
71 70
72 } // namespace chromeos 71 } // namespace chromeos
73 72
74 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_PROFILE_MANAGER_CLIENT_H_ 73 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_PROFILE_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_bluetooth_input_client.h ('k') | chromeos/dbus/fake_bluetooth_profile_service_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698