Chromium Code Reviews| Index: chrome/browser/chromeos/cros/network_library_impl_cros.cc |
| diff --git a/chrome/browser/chromeos/cros/network_library_impl_cros.cc b/chrome/browser/chromeos/cros/network_library_impl_cros.cc |
| index c0b7c5592d3a14e98c8aaf42684a8d3619cfb526..a5e68de6657a4580f54871d36269775244ffe4d1 100644 |
| --- a/chrome/browser/chromeos/cros/network_library_impl_cros.cc |
| +++ b/chrome/browser/chromeos/cros/network_library_impl_cros.cc |
| @@ -439,6 +439,15 @@ void NetworkLibraryImplCros::SetCarrier( |
| CrosSetCarrier(cellular->device_path(), carrier, completed); |
| } |
| +void NetworkLibraryImplCros::ResetModem() { |
| + const NetworkDevice* cellular = FindCellularDevice(); |
| + if (!cellular) { |
| + NOTREACHED() << "Calling SetCarrier method w/o cellular device."; |
|
Ben Chan
2013/01/23 19:28:13
SetCarrier -> ResetModem
rkc
2013/01/25 10:49:25
Done.
|
| + return; |
| + } |
| + CrosReset(cellular->device_path()); |
| +} |
| + |
| bool NetworkLibraryImplCros::IsCellularAlwaysInRoaming() { |
| const NetworkDevice* cellular = FindCellularDevice(); |
| if (!cellular) { |