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

Side by Side Diff: load.cc

Issue 6606024: Eliminate ConenctionType, etc from chromeos_network.h (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/cros.git@master
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
« chromeos_network.cc ('K') | « chromeos_network_deprecated.cc ('k') | 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 (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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 MonitorPropertyCallback, void*); 213 MonitorPropertyCallback, void*);
214 DECL_FUNC_1(DisconnectPropertyChangeMonitor, void, PropertyChangeMonitor); 214 DECL_FUNC_1(DisconnectPropertyChangeMonitor, void, PropertyChangeMonitor);
215 DECL_FUNC_3(MonitorNetworkService, PropertyChangeMonitor, 215 DECL_FUNC_3(MonitorNetworkService, PropertyChangeMonitor,
216 MonitorPropertyCallback, const char*, void*); 216 MonitorPropertyCallback, const char*, void*);
217 DECL_FUNC_2(MonitorCellularDataPlan, DataPlanUpdateMonitor, 217 DECL_FUNC_2(MonitorCellularDataPlan, DataPlanUpdateMonitor,
218 MonitorDataPlanCallback, void*); 218 MonitorDataPlanCallback, void*);
219 DECL_FUNC_1(DisconnectDataPlanUpdateMonitor, void, DataPlanUpdateMonitor); 219 DECL_FUNC_1(DisconnectDataPlanUpdateMonitor, void, DataPlanUpdateMonitor);
220 DECL_FUNC_1(RetrieveCellularDataPlans, CellularDataPlanList*, const char*); 220 DECL_FUNC_1(RetrieveCellularDataPlans, CellularDataPlanList*, const char*);
221 DECL_FUNC_1(RequestCellularDataPlanUpdate, void, const char*); 221 DECL_FUNC_1(RequestCellularDataPlanUpdate, void, const char*);
222 DECL_FUNC_1(FreeCellularDataPlanList, void, CellularDataPlanList*); 222 DECL_FUNC_1(FreeCellularDataPlanList, void, CellularDataPlanList*);
223 DECL_FUNC_3(RequestServiceConnect, void, const char*, NetworkActionCallback, 223 DECL_FUNC_3(RequestNetworkServiceConnect, void, const char*,
224 void *); 224 NetworkActionCallback, void *);
stevenjb 2011/03/02 23:35:57 Note: This was renamed during a previous CL but no
225 DECL_FUNC_2(RequestNetworkManagerInfo, void, 225 DECL_FUNC_2(RequestNetworkManagerInfo, void,
226 NetworkPropertiesCallback, void*); 226 NetworkPropertiesCallback, void*);
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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 INIT_FUNC(RemoveIPConfig); 535 INIT_FUNC(RemoveIPConfig);
532 INIT_FUNC(FreeIPConfig); 536 INIT_FUNC(FreeIPConfig);
533 INIT_FUNC(FreeIPConfigStatus); 537 INIT_FUNC(FreeIPConfigStatus);
534 INIT_FUNC(GetDeviceNetworkList); 538 INIT_FUNC(GetDeviceNetworkList);
535 INIT_FUNC(FreeDeviceNetworkList); 539 INIT_FUNC(FreeDeviceNetworkList);
536 INIT_FUNC(MonitorCellularDataPlan); 540 INIT_FUNC(MonitorCellularDataPlan);
537 INIT_FUNC(DisconnectDataPlanUpdateMonitor); 541 INIT_FUNC(DisconnectDataPlanUpdateMonitor);
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(RequestServiceConnect); 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
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
OLDNEW
« chromeos_network.cc ('K') | « chromeos_network_deprecated.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698