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

Side by Side Diff: chromeos/dbus/shill_third_party_vpn_driver_client.cc

Issue 940423002: Allow inclusion list and exclusion list to be passed to shill (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "chromeos/dbus/shill_third_party_vpn_driver_client.h" 5 #include "chromeos/dbus/shill_third_party_vpn_driver_client.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/stl_util.h" 8 #include "base/stl_util.h"
9 #include "chromeos/dbus/shill_third_party_vpn_observer.h" 9 #include "chromeos/dbus/shill_third_party_vpn_observer.h"
10 #include "dbus/bus.h" 10 #include "dbus/bus.h"
11 #include "dbus/message.h" 11 #include "dbus/message.h"
12 #include "dbus/object_proxy.h" 12 #include "dbus/object_proxy.h"
13 #include "third_party/cros_system_api/dbus/service_constants.h" 13 #include "third_party/cros_system_api/dbus/service_constants.h"
14 14
15 namespace chromeos { 15 namespace chromeos {
16 16
17 namespace { 17 namespace {
18 18
19 const char* kSetParametersKeyList[] = { 19 const char* kSetParametersKeyList[] = {
20 shill::kAddressParameterThirdPartyVpn, 20 shill::kAddressParameterThirdPartyVpn,
21 shill::kBroadcastAddressParameterThirdPartyVpn, 21 shill::kBroadcastAddressParameterThirdPartyVpn,
22 shill::kGatewayParameterThirdPartyVpn, 22 shill::kExclusionListParameterThirdPartyVpn,
bartfab (slow) 2015/02/20 14:57:47 I presume you will remove these obsolete constants
kaliamoorthi 2015/02/20 15:02:54 Acknowledged.
23 shill::kBypassTunnelForIpParameterThirdPartyVpn, 23 shill::kInclusionListParameterThirdPartyVpn,
24 shill::kSubnetPrefixParameterThirdPartyVpn, 24 shill::kSubnetPrefixParameterThirdPartyVpn,
25 shill::kMtuParameterThirdPartyVpn, 25 shill::kMtuParameterThirdPartyVpn,
26 shill::kDomainSearchParameterThirdPartyVpn, 26 shill::kDomainSearchParameterThirdPartyVpn,
27 shill::kDnsServersParameterThirdPartyVpn}; 27 shill::kDnsServersParameterThirdPartyVpn};
28 28
29 // The ShillThirdPartyVpnDriverClient implementation. 29 // The ShillThirdPartyVpnDriverClient implementation.
30 class ShillThirdPartyVpnDriverClientImpl 30 class ShillThirdPartyVpnDriverClientImpl
31 : public ShillThirdPartyVpnDriverClient { 31 : public ShillThirdPartyVpnDriverClient {
32 public: 32 public:
33 ShillThirdPartyVpnDriverClientImpl(); 33 ShillThirdPartyVpnDriverClientImpl();
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 332
333 ShillThirdPartyVpnDriverClient::~ShillThirdPartyVpnDriverClient() { 333 ShillThirdPartyVpnDriverClient::~ShillThirdPartyVpnDriverClient() {
334 } 334 }
335 335
336 // static 336 // static
337 ShillThirdPartyVpnDriverClient* ShillThirdPartyVpnDriverClient::Create() { 337 ShillThirdPartyVpnDriverClient* ShillThirdPartyVpnDriverClient::Create() {
338 return new ShillThirdPartyVpnDriverClientImpl(); 338 return new ShillThirdPartyVpnDriverClientImpl();
339 } 339 }
340 340
341 } // namespace chromeos 341 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698