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

Unified Diff: chromeos/dbus/dbus_thread_manager.cc

Issue 681723003: Add new shill client for VPN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated the interface to better suit the upper layer Created 6 years, 1 month 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
Index: chromeos/dbus/dbus_thread_manager.cc
diff --git a/chromeos/dbus/dbus_thread_manager.cc b/chromeos/dbus/dbus_thread_manager.cc
index 3e88a50057f2a719b37955d1284600cf0a7dec61..bc9e185768959d69867a00ea3134accc744829fc 100644
--- a/chromeos/dbus/dbus_thread_manager.cc
+++ b/chromeos/dbus/dbus_thread_manager.cc
@@ -43,6 +43,7 @@
#include "chromeos/dbus/shill_manager_client.h"
#include "chromeos/dbus/shill_profile_client.h"
#include "chromeos/dbus/shill_service_client.h"
+#include "chromeos/dbus/shill_third_party_vpn_driver_client.h"
#include "chromeos/dbus/sms_client.h"
#include "chromeos/dbus/system_clock_client.h"
#include "chromeos/dbus/update_engine_client.h"
@@ -206,6 +207,11 @@ DBusThreadManager::GetShillProfileClient() {
return client_bundle_->shill_profile_client();
}
+ShillThirdPartyVpnDriverClient*
+DBusThreadManager::GetShillThirdPartyVpnDriverClient() {
+ return client_bundle_->shill_third_party_vpn_driver_client();
+}
+
GsmSMSClient* DBusThreadManager::GetGsmSMSClient() {
return client_bundle_->gsm_sms_client();
}
@@ -298,6 +304,7 @@ void DBusThreadManager::InitializeClients() {
GetShillManagerClient()->Init(GetSystemBus());
GetShillServiceClient()->Init(GetSystemBus());
GetShillProfileClient()->Init(GetSystemBus());
+ GetShillThirdPartyVpnDriverClient()->Init(GetSystemBus());
GetSMSClient()->Init(GetSystemBus());
GetSystemClockClient()->Init(GetSystemBus());
GetUpdateEngineClient()->Init(GetSystemBus());

Powered by Google App Engine
This is Rietveld 408576698