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

Unified Diff: chromeos/dbus/dbus_client_bundle.h

Issue 980973003: apmanager: Add dbus implementation to chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change struct into class Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/dbus/ap_manager_client.cc ('k') | chromeos/dbus/dbus_client_bundle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/dbus_client_bundle.h
diff --git a/chromeos/dbus/dbus_client_bundle.h b/chromeos/dbus/dbus_client_bundle.h
index 48d000cfca5222752c4f730a1832cb636fb7e003..dd9b5263c700d2e288a1a7a6d15abc66082e5509 100644
--- a/chromeos/dbus/dbus_client_bundle.h
+++ b/chromeos/dbus/dbus_client_bundle.h
@@ -12,6 +12,7 @@
namespace chromeos {
+class ApManagerClient;
class BluetoothAdapterClient;
class BluetoothAgentManagerClient;
class BluetoothDeviceClient;
@@ -87,6 +88,7 @@ class CHROMEOS_EXPORT DBusClientBundle {
PEER_DAEMON = 1 << 19,
LEADERSHIP_DAEMON = 1 << 20,
METRONOME = 1 << 21,
+ AP_MANAGER = 1 << 22,
};
explicit DBusClientBundle(DBusClientTypeMask unstub_client_mask);
@@ -105,6 +107,8 @@ class CHROMEOS_EXPORT DBusClientBundle {
// un-stubbed.
static DBusClientTypeMask ParseUnstubList(const std::string& unstub_list);
+ ApManagerClient* ap_manager_client() { return ap_manager_client_.get(); }
+
BluetoothAdapterClient* bluetooth_adapter_client() {
return bluetooth_adapter_client_.get();
}
@@ -274,6 +278,7 @@ class CHROMEOS_EXPORT DBusClientBundle {
// are defined within DBusClientType enum.
DBusClientTypeMask unstub_client_mask_;
+ scoped_ptr<ApManagerClient> ap_manager_client_;
scoped_ptr<BluetoothAdapterClient> bluetooth_adapter_client_;
scoped_ptr<BluetoothAgentManagerClient> bluetooth_agent_manager_client_;
scoped_ptr<BluetoothDeviceClient> bluetooth_device_client_;
« no previous file with comments | « chromeos/dbus/ap_manager_client.cc ('k') | chromeos/dbus/dbus_client_bundle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698