| Index: chromeos/dbus/flimflam_service_client.cc
|
| diff --git a/chromeos/dbus/flimflam_service_client.cc b/chromeos/dbus/flimflam_service_client.cc
|
| index 40ff77e8a6f59c0e3dc96abb6dfbe635d5a46281..1600d9236b8e2d7b86c34de7d0e454c6c9f5b3bb 100644
|
| --- a/chromeos/dbus/flimflam_service_client.cc
|
| +++ b/chromeos/dbus/flimflam_service_client.cc
|
| @@ -106,6 +106,17 @@ class FlimflamServiceClientImpl : public FlimflamServiceClient {
|
| GetHelper(service_path)->CallVoidMethod(&method_call, callback);
|
| }
|
|
|
| + // FlimflamServiceClient override.
|
| + virtual bool CallActivateCellularModemAndBlock(
|
| + const dbus::ObjectPath& service_path,
|
| + const std::string& carrier) OVERRIDE {
|
| + dbus::MethodCall method_call(flimflam::kFlimflamServiceInterface,
|
| + flimflam::kActivateCellularModemFunction);
|
| + dbus::MessageWriter writer(&method_call);
|
| + writer.AppendString(carrier);
|
| + return GetHelper(service_path)->CallVoidMethodAndBlock(&method_call);
|
| + }
|
| +
|
| private:
|
| typedef std::map<std::string, FlimflamClientHelper*> HelperMap;
|
|
|
| @@ -197,6 +208,13 @@ class FlimflamServiceClientStubImpl : public FlimflamServiceClient {
|
| PostSuccessVoidCallback(callback);
|
| }
|
|
|
| + // FlimflamServiceClient override.
|
| + virtual bool CallActivateCellularModemAndBlock(
|
| + const dbus::ObjectPath& service_path,
|
| + const std::string& carrier) OVERRIDE {
|
| + return true;
|
| + }
|
| +
|
| private:
|
| void PassEmptyDictionaryValue(const DictionaryValueCallback& callback) const {
|
| base::DictionaryValue dictionary;
|
|
|