OLD | NEW |
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium OS 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 <cstdio> | 5 #include <cstdio> |
6 #include <dlfcn.h> | 6 #include <dlfcn.h> |
7 #include <string.h> | 7 #include <string.h> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 DECL_FUNC_3(RequestNetworkServiceInfo, void, const char*, | 227 DECL_FUNC_3(RequestNetworkServiceInfo, void, const char*, |
228 NetworkPropertiesCallback, void*); | 228 NetworkPropertiesCallback, void*); |
229 DECL_FUNC_3(RequestNetworkDeviceInfo, void, const char*, | 229 DECL_FUNC_3(RequestNetworkDeviceInfo, void, const char*, |
230 NetworkPropertiesCallback, void*); | 230 NetworkPropertiesCallback, void*); |
231 DECL_FUNC_3(RequestNetworkProfile, void, const char*, | 231 DECL_FUNC_3(RequestNetworkProfile, void, const char*, |
232 NetworkPropertiesCallback, void*); | 232 NetworkPropertiesCallback, void*); |
233 DECL_FUNC_4(RequestNetworkProfileEntry, void, const char*, const char*, | 233 DECL_FUNC_4(RequestNetworkProfileEntry, void, const char*, const char*, |
234 NetworkPropertiesCallback, void*); | 234 NetworkPropertiesCallback, void*); |
235 DECL_FUNC_4(RequestWifiServicePath, void, const char*, ConnectionSecurity, | 235 DECL_FUNC_4(RequestWifiServicePath, void, const char*, ConnectionSecurity, |
236 NetworkPropertiesCallback, void*); | 236 NetworkPropertiesCallback, void*); |
| 237 DECL_FUNC_4(RequestHiddenWifiNetwork, void, const char*, const char*, |
| 238 NetworkPropertiesCallback, void*); |
| 239 DECL_FUNC_1(RequestNetworkScan, void, const char*); |
| 240 DECL_FUNC_2(RequestNetworkDeviceEnable, void, const char*, bool); |
237 DECL_FUNC_2(EnableNetworkDevice, bool, ConnectionType, bool); | 241 DECL_FUNC_2(EnableNetworkDevice, bool, ConnectionType, bool); |
238 DECL_FUNC_1(SetOfflineMode, bool, bool); | 242 DECL_FUNC_1(SetOfflineMode, bool, bool); |
239 DECL_FUNC_2(SetAutoConnect, bool, const char*, bool); | 243 DECL_FUNC_2(SetAutoConnect, bool, const char*, bool); |
240 DECL_FUNC_2(SetPassphrase, bool, const char*, const char*); | 244 DECL_FUNC_2(SetPassphrase, bool, const char*, const char*); |
241 DECL_FUNC_2(SetIdentity, bool, const char*, const char*); | 245 DECL_FUNC_2(SetIdentity, bool, const char*, const char*); |
242 DECL_FUNC_2(SetCertPath, bool, const char*, const char*); | 246 DECL_FUNC_2(SetCertPath, bool, const char*, const char*); |
243 DECL_FUNC_1(ListIPConfigs, IPConfigStatus*, const char*); | 247 DECL_FUNC_1(ListIPConfigs, IPConfigStatus*, const char*); |
244 DECL_FUNC_2(AddIPConfig, bool, const char*, IPConfigType); | 248 DECL_FUNC_2(AddIPConfig, bool, const char*, IPConfigType); |
245 DECL_FUNC_1(SaveIPConfig, bool, IPConfig*); | 249 DECL_FUNC_1(SaveIPConfig, bool, IPConfig*); |
246 DECL_FUNC_1(RemoveIPConfig, bool, IPConfig*); | 250 DECL_FUNC_1(RemoveIPConfig, bool, IPConfig*); |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 INIT_FUNC(RetrieveCellularDataPlans); | 542 INIT_FUNC(RetrieveCellularDataPlans); |
539 INIT_FUNC(RequestCellularDataPlanUpdate); | 543 INIT_FUNC(RequestCellularDataPlanUpdate); |
540 INIT_FUNC(FreeCellularDataPlanList); | 544 INIT_FUNC(FreeCellularDataPlanList); |
541 INIT_FUNC(RequestNetworkServiceConnect); | 545 INIT_FUNC(RequestNetworkServiceConnect); |
542 INIT_FUNC(RequestNetworkManagerInfo); | 546 INIT_FUNC(RequestNetworkManagerInfo); |
543 INIT_FUNC(RequestNetworkServiceInfo); | 547 INIT_FUNC(RequestNetworkServiceInfo); |
544 INIT_FUNC(RequestNetworkDeviceInfo); | 548 INIT_FUNC(RequestNetworkDeviceInfo); |
545 INIT_FUNC(RequestNetworkProfile); | 549 INIT_FUNC(RequestNetworkProfile); |
546 INIT_FUNC(RequestNetworkProfileEntry); | 550 INIT_FUNC(RequestNetworkProfileEntry); |
547 INIT_FUNC(RequestWifiServicePath); | 551 INIT_FUNC(RequestWifiServicePath); |
| 552 INIT_FUNC(RequestHiddenWifiNetwork); |
| 553 INIT_FUNC(RequestNetworkScan); |
| 554 INIT_FUNC(RequestNetworkDeviceEnable); |
548 | 555 |
549 // Synaptics | 556 // Synaptics |
550 INIT_FUNC(SetSynapticsParameter); | 557 INIT_FUNC(SetSynapticsParameter); |
551 | 558 |
552 // Touchpad | 559 // Touchpad |
553 INIT_FUNC(SetTouchpadSensitivity); | 560 INIT_FUNC(SetTouchpadSensitivity); |
554 INIT_FUNC(SetTouchpadTapToClick); | 561 INIT_FUNC(SetTouchpadTapToClick); |
555 | 562 |
556 // Login | 563 // Login |
557 INIT_FUNC(CheckWhitelist); | 564 INIT_FUNC(CheckWhitelist); |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
670 INIT_FUNC(NotifyNetworkProxyResolved); | 677 INIT_FUNC(NotifyNetworkProxyResolved); |
671 | 678 |
672 return error_string.empty(); | 679 return error_string.empty(); |
673 } | 680 } |
674 | 681 |
675 void SetLibcrosTimeHistogramFunction(LibcrosTimeHistogramFunc func) { | 682 void SetLibcrosTimeHistogramFunction(LibcrosTimeHistogramFunc func) { |
676 addHistogram = func; | 683 addHistogram = func; |
677 } | 684 } |
678 | 685 |
679 } // namespace chromeos | 686 } // namespace chromeos |
OLD | NEW |