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

Side by Side Diff: chrome/browser/chromeos/cros/network_library_impl_stub.h

Issue 11367048: This is the first pass at making GetIPConfigs asynchronous. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_STUB_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_STUB_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_STUB_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_STUB_H_
7 7
8 #include "chrome/browser/chromeos/cros/network_library_impl_base.h" 8 #include "chrome/browser/chromeos/cros/network_library_impl_base.h"
9 9
10 namespace chromeos { 10 namespace chromeos {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 virtual void RequestNetworkScan() OVERRIDE; 68 virtual void RequestNetworkScan() OVERRIDE;
69 69
70 virtual bool GetWifiAccessPoints(WifiAccessPointVector* result) OVERRIDE; 70 virtual bool GetWifiAccessPoints(WifiAccessPointVector* result) OVERRIDE;
71 71
72 virtual void RefreshIPConfig(Network* network) OVERRIDE; 72 virtual void RefreshIPConfig(Network* network) OVERRIDE;
73 73
74 virtual void DisconnectFromNetwork(const Network* network) OVERRIDE; 74 virtual void DisconnectFromNetwork(const Network* network) OVERRIDE;
75 75
76 virtual void EnableOfflineMode(bool enable) OVERRIDE; 76 virtual void EnableOfflineMode(bool enable) OVERRIDE;
77 77
78 virtual NetworkIPConfigVector GetIPConfigs( 78 virtual void GetIPConfigs(
79 const std::string& device_path,
80 HardwareAddressFormat format,
81 const NetworkGetIPConfigsCallback& callback) OVERRIDE;
82 virtual NetworkIPConfigVector GetIPConfigsAndBlock(
79 const std::string& device_path, 83 const std::string& device_path,
80 std::string* hardware_address, 84 std::string* hardware_address,
81 HardwareAddressFormat format) OVERRIDE; 85 HardwareAddressFormat format) OVERRIDE;
82 virtual void SetIPParameters(const std::string& service_path, 86 virtual void SetIPParameters(const std::string& service_path,
83 const std::string& address, 87 const std::string& address,
84 const std::string& netmask, 88 const std::string& netmask,
85 const std::string& gateway, 89 const std::string& gateway,
86 const std::string& name_servers, 90 const std::string& name_servers,
87 int dhcp_usage_mask) OVERRIDE; 91 int dhcp_usage_mask) OVERRIDE;
88 92
(...skipping 13 matching lines...) Expand all
102 WifiNetworkVector disabled_wifi_networks_; 106 WifiNetworkVector disabled_wifi_networks_;
103 CellularNetworkVector disabled_cellular_networks_; 107 CellularNetworkVector disabled_cellular_networks_;
104 WimaxNetworkVector disabled_wimax_networks_; 108 WimaxNetworkVector disabled_wimax_networks_;
105 109
106 DISALLOW_COPY_AND_ASSIGN(NetworkLibraryImplStub); 110 DISALLOW_COPY_AND_ASSIGN(NetworkLibraryImplStub);
107 }; 111 };
108 112
109 } // namespace chromeos 113 } // namespace chromeos
110 114
111 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_STUB_H_ 115 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_STUB_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/network_library_impl_cros.cc ('k') | chrome/browser/chromeos/cros/network_library_impl_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698