summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/shill_service_client.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 /chromeos/dbus/shill_service_client.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 'chromeos/dbus/shill_service_client.cc')
-rw-r--r--chromeos/dbus/shill_service_client.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/chromeos/dbus/shill_service_client.cc b/chromeos/dbus/shill_service_client.cc
index fa0cb7a..7b628b5 100644
--- a/chromeos/dbus/shill_service_client.cc
+++ b/chromeos/dbus/shill_service_client.cc
@@ -159,6 +159,18 @@ class ShillServiceClientImpl : public ShillServiceClient {
error_callback);
}
+ virtual void CompleteCellularActivation(
+ const dbus::ObjectPath& service_path,
+ const base::Closure& callback,
+ const ErrorCallback& error_callback) OVERRIDE {
+ dbus::MethodCall method_call(flimflam::kFlimflamServiceInterface,
+ shill::kCompleteCellularActivationFunction);
+ dbus::MessageWriter writer(&method_call);
+ GetHelper(service_path)->CallVoidMethodWithErrorCallback(&method_call,
+ callback,
+ error_callback);
+ }
+
virtual bool CallActivateCellularModemAndBlock(
const dbus::ObjectPath& service_path,
const std::string& carrier) OVERRIDE {