summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/cros/network_library.cc
diff options
context:
space:
mode:
authorrkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-16 07:54:18 +0000
committerrkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-16 07:54:18 +0000
commit4cd381921c85e549af1554dcbc32c4fdf2a1393b (patch)
tree86bf754e8444bddc368ac31c063368e44a06171e /chrome/browser/chromeos/cros/network_library.cc
parent4f6b75104e8d5d185670bdf05e64b36d82b6d7ca (diff)
downloadchromium_src-4cd381921c85e549af1554dcbc32c4fdf2a1393b.zip
chromium_src-4cd381921c85e549af1554dcbc32c4fdf2a1393b.tar.gz
chromium_src-4cd381921c85e549af1554dcbc32c4fdf2a1393b.tar.bz2
Change the modem reset command on cellular activation completion.
Instead of calling ModemReset on completing activation for an LTE modem, instead call the new CompleteCellularActivation shill service method. R=gspencer@chromium.org,benchan@chromium.org BUG=172526 Review URL: https://chromiumcodereview.appspot.com/12279012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/cros/network_library.cc')
-rw-r--r--chrome/browser/chromeos/cros/network_library.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/cros/network_library.cc b/chrome/browser/chromeos/cros/network_library.cc
index 2a120c0..49acbad 100644
--- a/chrome/browser/chromeos/cros/network_library.cc
+++ b/chrome/browser/chromeos/cros/network_library.cc
@@ -877,6 +877,12 @@ bool CellularNetwork::StartActivation() {
return true;
}
+void CellularNetwork::CompleteActivation() {
+ if (!EnsureCrosLoaded())
+ return;
+ CrosCompleteCellularActivation(service_path());
+}
+
void CellularNetwork::SetApn(const CellularApn& apn) {
if (!apn.apn.empty()) {
DictionaryValue value;