| OLD | NEW |
| 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 CHROMEOS_NETWORK_CROS_NETWORK_FUNCTIONS_H_ | 5 #ifndef CHROMEOS_NETWORK_CROS_NETWORK_FUNCTIONS_H_ |
| 6 #define CHROMEOS_NETWORK_CROS_NETWORK_FUNCTIONS_H_ | 6 #define CHROMEOS_NETWORK_CROS_NETWORK_FUNCTIONS_H_ |
| 7 | 7 |
| 8 // This header is introduced to make it easy to switch from chromeos_network.cc | 8 // This header is introduced to make it easy to switch from chromeos_network.cc |
| 9 // to Chrome's own DBus code. crosbug.com/16557 | 9 // to Chrome's own DBus code. crosbug.com/16557 |
| 10 // | 10 // |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 | 255 |
| 256 // Configures the network service specified by |properties|. | 256 // Configures the network service specified by |properties|. |
| 257 CHROMEOS_EXPORT void CrosConfigureService( | 257 CHROMEOS_EXPORT void CrosConfigureService( |
| 258 const base::DictionaryValue& properties); | 258 const base::DictionaryValue& properties); |
| 259 | 259 |
| 260 // Changes the active cellular carrier. | 260 // Changes the active cellular carrier. |
| 261 CHROMEOS_EXPORT void CrosSetCarrier(const std::string& device_path, | 261 CHROMEOS_EXPORT void CrosSetCarrier(const std::string& device_path, |
| 262 const std::string& carrier, | 262 const std::string& carrier, |
| 263 const NetworkOperationCallback& callback); | 263 const NetworkOperationCallback& callback); |
| 264 | 264 |
| 265 // Resets the device. |
| 266 CHROMEOS_EXPORT void CrosReset(const std::string& device_path); |
| 267 |
| 265 } // namespace chromeos | 268 } // namespace chromeos |
| 266 | 269 |
| 267 #endif // CHROMEOS_NETWORK_CROS_NETWORK_FUNCTIONS_H_ | 270 #endif // CHROMEOS_NETWORK_CROS_NETWORK_FUNCTIONS_H_ |
| OLD | NEW |