blob: 0d716633c2203b8b15713e83010da14f94d30e9e [file] [log] [blame]
Darin Petkovc64fe5e2012-01-11 12:46:13 +01001// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
Chris Masone3bd3c8c2011-06-13 08:20:26 -07002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Darin Petkova4ca3c32012-08-17 16:05:24 +02005#ifndef SHILL_CELLULAR_H_
6#define SHILL_CELLULAR_H_
Chris Masone3bd3c8c2011-06-13 08:20:26 -07007
8#include <string>
Jason Glasgow82f9ab32012-04-04 14:27:19 -04009#include <vector>
Chris Masone3bd3c8c2011-06-13 08:20:26 -070010
11#include <base/basictypes.h>
Thieu Le64b0fe52012-08-08 14:57:36 -070012#include <base/memory/weak_ptr.h>
Darin Petkove9d12e02011-07-27 15:09:37 -070013#include <gtest/gtest_prod.h> // for FRIEND_TEST
Chris Masone3bd3c8c2011-06-13 08:20:26 -070014
Darin Petkovc5f56562011-08-06 16:40:05 -070015#include "shill/dbus_properties.h"
Chris Masone3bd3c8c2011-06-13 08:20:26 -070016#include "shill/device.h"
Paul Stewart26b327e2011-10-19 11:38:09 -070017#include "shill/event_dispatcher.h"
Darin Petkovc5f56562011-08-06 16:40:05 -070018#include "shill/modem_proxy_interface.h"
Chris Masone2b105542011-06-22 10:58:09 -070019#include "shill/refptr_types.h"
Chris Masone3bd3c8c2011-06-13 08:20:26 -070020
Darin Petkov137884a2011-10-26 18:52:47 +020021struct mobile_provider_db;
22
Chris Masone3bd3c8c2011-06-13 08:20:26 -070023namespace shill {
24
Darin Petkovdaf43862011-10-27 11:37:28 +020025class CellularCapability;
Ben Chan62028b22012-11-05 11:20:02 -080026class CellularOperatorInfo;
Darin Petkov4d6d9412011-08-24 13:19:54 -070027class Error;
Darin Petkovab565bb2011-10-06 02:55:51 -070028class ProxyFactory;
Darin Petkove9d12e02011-07-27 15:09:37 -070029
Eric Shienbrood5de44ab2011-12-05 10:46:27 -050030class Cellular : public Device {
Chris Masone3bd3c8c2011-06-13 08:20:26 -070031 public:
Darin Petkove9d12e02011-07-27 15:09:37 -070032 enum Type {
33 kTypeGSM,
David Rochbergfa1d31d2012-03-20 10:38:07 -040034 kTypeCDMA,
35 kTypeUniversal, // ModemManager1
36 kTypeInvalid,
Darin Petkove9d12e02011-07-27 15:09:37 -070037 };
38
Darin Petkov0828f5f2011-08-11 10:18:52 -070039 // The device states progress linearly from Disabled to Linked.
Darin Petkove9d12e02011-07-27 15:09:37 -070040 enum State {
Darin Petkov0828f5f2011-08-11 10:18:52 -070041 // This is the initial state of the modem and indicates that the modem radio
42 // is not turned on.
Darin Petkove9d12e02011-07-27 15:09:37 -070043 kStateDisabled,
Darin Petkov0828f5f2011-08-11 10:18:52 -070044 // This state indicates that the modem radio is turned on, and it should be
45 // possible to measure signal strength.
Darin Petkove9d12e02011-07-27 15:09:37 -070046 kStateEnabled,
Darin Petkov0828f5f2011-08-11 10:18:52 -070047 // The modem has registered with a network and has signal quality
Darin Petkov51489002011-08-18 13:13:20 -070048 // measurements. A cellular service object is created.
Darin Petkove9d12e02011-07-27 15:09:37 -070049 kStateRegistered,
Darin Petkov0828f5f2011-08-11 10:18:52 -070050 // The modem has connected to a network.
Darin Petkove9d12e02011-07-27 15:09:37 -070051 kStateConnected,
Darin Petkov0828f5f2011-08-11 10:18:52 -070052 // The network interface is UP.
53 kStateLinked,
Darin Petkove9d12e02011-07-27 15:09:37 -070054 };
55
Darin Petkovbac96002011-08-09 13:22:00 -070056 enum ModemState {
57 kModemStateUnknown = 0,
Eric Shienbrood7fce52c2012-04-13 19:11:02 -040058 kModemStateInitializing = 1,
59 kModemStateLocked = 2,
60 kModemStateDisabled = 3,
David Rochbergfa1d31d2012-03-20 10:38:07 -040061 kModemStateDisabling = 4,
62 kModemStateEnabling = 5,
63 kModemStateEnabled = 6,
64 kModemStateSearching = 7,
65 kModemStateRegistered = 8,
66 kModemStateDisconnecting = 9,
67 kModemStateConnecting = 10,
68 kModemStateConnected = 11,
Darin Petkovbac96002011-08-09 13:22:00 -070069 };
70
Darin Petkov3335b372011-08-22 11:05:32 -070071 class Operator {
72 public:
73 Operator();
74 ~Operator();
75
76 void CopyFrom(const Operator &oper);
Darin Petkov9cb02682012-01-28 00:17:38 +010077 bool Equals(const Operator &oper) const { return dict_ == oper.dict_; }
Darin Petkov3335b372011-08-22 11:05:32 -070078
79 const std::string &GetName() const;
80 void SetName(const std::string &name);
81
82 const std::string &GetCode() const;
83 void SetCode(const std::string &code);
84
85 const std::string &GetCountry() const;
86 void SetCountry(const std::string &country);
87
88 const Stringmap &ToDict() const;
89
90 private:
91 Stringmap dict_;
92
93 DISALLOW_COPY_AND_ASSIGN(Operator);
94 };
95
Jason Glasgowa585fc32012-06-06 11:04:09 -040096 // |owner| is the ModemManager DBus service owner (e.g., ":1.17").
97 // |path| is the ModemManager.Modem DBus object path (e.g.,
Darin Petkove9d12e02011-07-27 15:09:37 -070098 // "/org/chromium/ModemManager/Gobi/0").
Jason Glasgowa585fc32012-06-06 11:04:09 -040099 // |service| is the modem mananager service name (e.g.,
100 // /org/freeDesktop/ModemManager, /org/freedesktop/ModemManager1
101 // or /org/chromium/ModemManager).
Chris Masone3bd3c8c2011-06-13 08:20:26 -0700102 Cellular(ControlInterface *control_interface,
103 EventDispatcher *dispatcher,
Thieu Le3426c8f2012-01-11 17:35:11 -0800104 Metrics *metrics,
Chris Masone3bd3c8c2011-06-13 08:20:26 -0700105 Manager *manager,
Darin Petkove9d12e02011-07-27 15:09:37 -0700106 const std::string &link_name,
Chris Masone626719f2011-08-18 16:58:48 -0700107 const std::string &address,
Darin Petkove9d12e02011-07-27 15:09:37 -0700108 int interface_index,
109 Type type,
110 const std::string &owner,
Jason Glasgowa585fc32012-06-06 11:04:09 -0400111 const std::string &service,
Darin Petkov137884a2011-10-26 18:52:47 +0200112 const std::string &path,
Ben Chan62028b22012-11-05 11:20:02 -0800113 CellularOperatorInfo *cellular_operator_info,
Ben Chan3ecdf822012-08-06 12:29:23 -0700114 mobile_provider_db *provider_db,
115 ProxyFactory *proxy_factory);
Darin Petkove9d12e02011-07-27 15:09:37 -0700116 virtual ~Cellular();
117
Jason Glasgow7b461df2012-05-01 16:38:45 -0400118 // Load configuration for the device from |storage|.
119 virtual bool Load(StoreInterface *storage);
120
121 // Save configuration for the device to |storage|.
122 virtual bool Save(StoreInterface *storage);
123
Darin Petkov4d6d9412011-08-24 13:19:54 -0700124 // Asynchronously connects the modem to the network. Populates |error| on
125 // failure, leaves it unchanged otherwise.
126 void Connect(Error *error);
Darin Petkovc5f56562011-08-06 16:40:05 -0700127
Darin Petkovfb0625e2012-01-16 13:05:56 +0100128 // Asynchronously disconnects the modem from the network. Populates |error| on
129 // failure, leaves it unchanged otherwise.
130 void Disconnect(Error *error);
131
Eric Shienbrood5de44ab2011-12-05 10:46:27 -0500132 // Asynchronously activates the modem. Returns an error on failure.
Eric Shienbrood9a245532012-03-07 14:20:39 -0500133 void Activate(const std::string &carrier, Error *error,
134 const ResultCallback &callback);
Darin Petkovc408e692011-08-17 13:47:15 -0700135
Darin Petkov3e509242011-11-10 14:46:44 +0100136 const CellularServiceRefPtr &service() const { return service_; }
137
Darin Petkova0a0efe2012-06-27 12:50:01 +0200138 // Deregisters and destructs the current service and destroys the connection,
139 // if any. This also eliminates the circular references between this device
140 // and the associated service, allowing eventual device destruction.
141 virtual void DestroyService();
142
Darin Petkova3d3be52011-11-14 21:34:16 +0100143 static std::string GetStateString(State state);
144
Darin Petkovac635a82012-01-10 16:51:58 +0100145 std::string CreateFriendlyServiceName();
146
Darin Petkova3d3be52011-11-14 21:34:16 +0100147 State state() const { return state_; }
148
Darin Petkovbac96002011-08-09 13:22:00 -0700149 void set_modem_state(ModemState state) { modem_state_ = state; }
150 ModemState modem_state() const { return modem_state_; }
Eric Shienbrood7fce52c2012-04-13 19:11:02 -0400151 bool IsUnderlyingDeviceEnabled() const;
Thieu Led0012052012-07-25 16:09:09 -0700152 bool IsModemRegistered() const;
Eric Shienbrood7fce52c2012-04-13 19:11:02 -0400153 static bool IsEnabledModemState(ModemState state);
Darin Petkovbac96002011-08-09 13:22:00 -0700154
Ben Chan62028b22012-11-05 11:20:02 -0800155 CellularOperatorInfo *cellular_operator_info() const {
156 return cellular_operator_info_;
157 }
Darin Petkov1272a432011-11-10 15:53:37 +0100158 mobile_provider_db *provider_db() const { return provider_db_; }
159
Darin Petkovdaf43862011-10-27 11:37:28 +0200160 const std::string &dbus_owner() const { return dbus_owner_; }
161 const std::string &dbus_path() const { return dbus_path_; }
162
Darin Petkovae0c64e2011-11-15 15:50:27 +0100163 const Operator &home_provider() const { return home_provider_; }
164 void set_home_provider(const Operator &oper);
Darin Petkov184c54e2011-11-15 12:44:39 +0100165
Darin Petkov3e509242011-11-10 14:46:44 +0100166 void HandleNewSignalQuality(uint32 strength);
167
Darin Petkov184c54e2011-11-15 12:44:39 +0100168 // Processes a change in the modem registration state, possibly creating,
169 // destroying or updating the CellularService.
170 void HandleNewRegistrationState();
171
Jason Glasgow82f9ab32012-04-04 14:27:19 -0400172 virtual void OnDBusPropertiesChanged(
173 const std::string &interface,
174 const DBusPropertiesMap &changed_properties,
175 const std::vector<std::string> &invalidated_properties);
Darin Petkov184c54e2011-11-15 12:44:39 +0100176
Darin Petkove9d12e02011-07-27 15:09:37 -0700177 // Inherited from Device.
Eric Shienbrood9a245532012-03-07 14:20:39 -0500178 virtual void Start(Error *error, const EnabledStateChangedCallback &callback);
179 virtual void Stop(Error *error, const EnabledStateChangedCallback &callback);
Darin Petkov0828f5f2011-08-11 10:18:52 -0700180 virtual void LinkEvent(unsigned int flags, unsigned int change);
Darin Petkovc0865312011-09-16 15:31:20 -0700181 virtual void Scan(Error *error);
Eric Shienbrood5de44ab2011-12-05 10:46:27 -0500182 virtual void RegisterOnNetwork(const std::string &network_id,
Eric Shienbrood9a245532012-03-07 14:20:39 -0500183 Error *error,
184 const ResultCallback &callback);
185 virtual void RequirePIN(const std::string &pin, bool require,
186 Error *error, const ResultCallback &callback);
187 virtual void EnterPIN(const std::string &pin,
188 Error *error, const ResultCallback &callback);
Darin Petkove42e1012011-08-31 12:35:04 -0700189 virtual void UnblockPIN(const std::string &unblock_code,
190 const std::string &pin,
Eric Shienbrood9a245532012-03-07 14:20:39 -0500191 Error *error, const ResultCallback &callback);
Darin Petkove42e1012011-08-31 12:35:04 -0700192 virtual void ChangePIN(const std::string &old_pin,
193 const std::string &new_pin,
Eric Shienbrood9a245532012-03-07 14:20:39 -0500194 Error *error, const ResultCallback &callback);
Darin Petkovc37a9c42012-09-06 15:28:22 +0200195 virtual void SetCarrier(const std::string &carrier,
196 Error *error, const ResultCallback &callback);
Chris Masone3bd3c8c2011-06-13 08:20:26 -0700197
Thieu Le37b90032012-05-15 15:18:41 -0700198 void StartModemCallback(const EnabledStateChangedCallback &callback,
199 const Error &error);
200 void StopModemCallback(const EnabledStateChangedCallback &callback,
201 const Error &error);
Eric Shienbrood7fce52c2012-04-13 19:11:02 -0400202 void OnConnecting();
Eric Shienbrood5de44ab2011-12-05 10:46:27 -0500203 void OnConnected();
Eric Shienbrood30bc0ec2012-03-21 18:19:46 -0400204 void OnConnectFailed(const Error &error);
Eric Shienbrood5de44ab2011-12-05 10:46:27 -0500205 void OnDisconnected();
206 void OnDisconnectFailed();
Eric Shienbrood0db6a9b2012-03-30 16:11:39 -0400207 std::string GetTechnologyFamily(Error *error);
Eric Shienbrood7fce52c2012-04-13 19:11:02 -0400208 void OnModemStateChanged(ModemState old_state,
209 ModemState new_state,
210 uint32 reason);
Eric Shienbrood5de44ab2011-12-05 10:46:27 -0500211
Jason Glasgow7b461df2012-05-01 16:38:45 -0400212 // accessor to read the allow roaming property
213 bool allow_roaming_property() const { return allow_roaming_; }
214
Chris Masone3bd3c8c2011-06-13 08:20:26 -0700215 private:
Darin Petkovab565bb2011-10-06 02:55:51 -0700216 friend class CellularTest;
Eric Shienbrood5de44ab2011-12-05 10:46:27 -0500217 friend class CellularCapabilityTest;
Darin Petkov20c13ec2011-11-09 15:07:15 +0100218 friend class CellularCapabilityCDMATest;
219 friend class CellularCapabilityGSMTest;
Jason Glasgowef965562012-04-10 16:12:35 -0400220 friend class CellularCapabilityUniversalTest;
Jason Glasgow82f9ab32012-04-04 14:27:19 -0400221 friend class CellularServiceTest;
Darin Petkov721ac932011-11-16 15:43:09 +0100222 friend class ModemTest;
Darin Petkovac635a82012-01-10 16:51:58 +0100223 FRIEND_TEST(CellularCapabilityCDMATest, CreateFriendlyServiceName);
Eric Shienbrood9a245532012-03-07 14:20:39 -0500224 FRIEND_TEST(CellularCapabilityCDMATest, GetRegistrationState);
Darin Petkovf508c822012-09-21 13:43:17 +0200225 FRIEND_TEST(CellularCapabilityGSMTest, AllowRoaming);
Darin Petkovac635a82012-01-10 16:51:58 +0100226 FRIEND_TEST(CellularCapabilityGSMTest, CreateFriendlyServiceName);
Darin Petkova4ca3c32012-08-17 16:05:24 +0200227 FRIEND_TEST(CellularCapabilityTest, AllowRoaming);
228 FRIEND_TEST(CellularCapabilityTest, EnableModemFail);
229 FRIEND_TEST(CellularCapabilityTest, EnableModemSucceed);
230 FRIEND_TEST(CellularCapabilityTest, FinishEnable);
231 FRIEND_TEST(CellularCapabilityTest, GetModemInfo);
232 FRIEND_TEST(CellularCapabilityTest, GetModemStatus);
Darin Petkovf508c822012-09-21 13:43:17 +0200233 FRIEND_TEST(CellularCapabilityUniversalTest, AllowRoaming);
Darin Petkova4ca3c32012-08-17 16:05:24 +0200234 FRIEND_TEST(CellularCapabilityUniversalTest, CreateFriendlyServiceName);
235 FRIEND_TEST(CellularCapabilityUniversalTest, Connect);
Ben Chan15786032012-11-04 21:28:02 -0800236 FRIEND_TEST(CellularCapabilityUniversalTest, IsServiceActivationRequired);
Darin Petkova4ca3c32012-08-17 16:05:24 +0200237 FRIEND_TEST(CellularCapabilityUniversalTest, StopModemConnected);
Ben Chan6d0d1e72012-11-06 21:19:28 -0800238 FRIEND_TEST(CellularCapabilityUniversalTest, UpdateOLP);
Ben Chan092b12b2012-11-07 22:04:05 -0800239 FRIEND_TEST(CellularCapabilityUniversalTest, UpdateOperatorInfoViaOperatorId);
Darin Petkovac635a82012-01-10 16:51:58 +0100240 FRIEND_TEST(CellularServiceTest, FriendlyName);
Darin Petkov3335b372011-08-22 11:05:32 -0700241 FRIEND_TEST(CellularTest, CreateService);
Darin Petkovc5f56562011-08-06 16:40:05 -0700242 FRIEND_TEST(CellularTest, Connect);
Gary Moraina9fb3252012-05-31 12:05:31 -0700243 FRIEND_TEST(CellularTest, ConnectAddsTerminationAction);
Eric Shienbroodcc95c5d2012-03-30 15:25:49 -0400244 FRIEND_TEST(CellularTest, ConnectFailure);
Thieu Leb5954a22012-05-18 10:37:34 -0700245 FRIEND_TEST(CellularTest, ConnectFailureNoService);
Darin Petkovfb0625e2012-01-16 13:05:56 +0100246 FRIEND_TEST(CellularTest, DisableModem);
Eric Shienbrood9a245532012-03-07 14:20:39 -0500247 FRIEND_TEST(CellularTest, Disconnect);
Arman Uguray539c4232012-09-11 10:00:22 -0700248 FRIEND_TEST(CellularTest, DisconnectFailure);
Ben Chan09fa2a02012-11-07 22:09:09 -0800249 FRIEND_TEST(CellularTest,
250 HandleNewRegistrationStateForServiceRequiringActivation);
Eric Shienbrood7fce52c2012-04-13 19:11:02 -0400251 FRIEND_TEST(CellularTest, ModemStateChangeDisable);
252 FRIEND_TEST(CellularTest, ModemStateChangeEnable);
Thieu Led0012052012-07-25 16:09:09 -0700253 FRIEND_TEST(CellularTest, ModemStateChangeStaleConnected);
254 FRIEND_TEST(CellularTest, ModemStateChangeValidConnected);
Darin Petkove7c6ad32012-06-29 10:22:09 +0200255 FRIEND_TEST(CellularTest, SetAllowRoaming);
Thieu Le37b90032012-05-15 15:18:41 -0700256 FRIEND_TEST(CellularTest, StartModemCallback);
257 FRIEND_TEST(CellularTest, StartModemCallbackFail);
258 FRIEND_TEST(CellularTest, StopModemCallback);
259 FRIEND_TEST(CellularTest, StopModemCallbackFail);
Darin Petkovbac96002011-08-09 13:22:00 -0700260 FRIEND_TEST(CellularTest, StartConnected);
Darin Petkova1e0a1c2011-08-25 15:08:33 -0700261 FRIEND_TEST(CellularTest, StartCDMARegister);
Darin Petkov9bac6fe2011-08-26 12:49:05 -0700262 FRIEND_TEST(CellularTest, StartGSMRegister);
Darin Petkov0828f5f2011-08-11 10:18:52 -0700263 FRIEND_TEST(CellularTest, StartLinked);
Ben Chan876efd32012-09-28 15:25:13 -0700264 FRIEND_TEST(Modem1Test, CreateDeviceMM1);
Darin Petkove9d12e02011-07-27 15:09:37 -0700265
Jason Glasgow7b461df2012-05-01 16:38:45 -0400266 // Names of properties in storage
267 static const char kAllowRoaming[];
268
Darin Petkov0828f5f2011-08-11 10:18:52 -0700269 void SetState(State state);
270
Darin Petkovbac96002011-08-09 13:22:00 -0700271 // Invoked when the modem is connected to the cellular network to transition
272 // to the network-connected state and bring the network interface up.
273 void EstablishLink();
274
Ben Chan3ecdf822012-08-06 12:29:23 -0700275 void InitCapability(Type type);
Darin Petkovf5f61e02011-07-29 11:35:40 -0700276
Darin Petkovd9661952011-08-03 16:25:42 -0700277 void CreateService();
278
Eric Shienbrood0db6a9b2012-03-30 16:11:39 -0400279 // HelpRegisterDerived*: Expose a property over RPC, with the name |name|.
280 //
281 // Reads of the property will be handled by invoking |get|.
282 // Writes to the property will be handled by invoking |set|.
283 // Clearing the property will be handled by PropertyStore.
Jason Glasgow7b461df2012-05-01 16:38:45 -0400284 void HelpRegisterDerivedBool(
285 const std::string &name,
286 bool(Cellular::*get)(Error *error),
287 void(Cellular::*set)(const bool &value, Error *error));
Eric Shienbrood0db6a9b2012-03-30 16:11:39 -0400288 void HelpRegisterDerivedString(
289 const std::string &name,
290 std::string(Cellular::*get)(Error *error),
291 void(Cellular::*set)(const std::string &value, Error *error));
292
Nathan Williamsb54974f2012-04-19 11:16:30 -0400293 void OnConnectReply(const Error &error);
294 void OnDisconnectReply(const Error &error);
295
Jason Glasgow7b461df2012-05-01 16:38:45 -0400296 // DBUS accessors to read/modify the allow roaming property
297 bool GetAllowRoaming(Error */*error*/) { return allow_roaming_; }
298 void SetAllowRoaming(const bool &value, Error *error);
299
Gary Moraina9fb3252012-05-31 12:05:31 -0700300 // When shill terminates or ChromeOS suspends, this function is called to
301 // disconnect from the cellular network.
302 void StartTermination();
303
Arman Uguray539c4232012-09-11 10:00:22 -0700304 // This function does the final cleanup once a disconnect request terminates.
305 // Returns true, if the device state is successfully changed.
306 bool DisconnectCleanup();
307
Thieu Le64b0fe52012-08-08 14:57:36 -0700308 base::WeakPtrFactory<Cellular> weak_ptr_factory_;
309
Darin Petkove9d12e02011-07-27 15:09:37 -0700310 State state_;
Darin Petkovbac96002011-08-09 13:22:00 -0700311 ModemState modem_state_;
Darin Petkove9d12e02011-07-27 15:09:37 -0700312
Darin Petkovdaf43862011-10-27 11:37:28 +0200313 scoped_ptr<CellularCapability> capability_;
314
Jason Glasgowa585fc32012-06-06 11:04:09 -0400315 const std::string dbus_owner_; // :x.y
316 const std::string dbus_service_; // org.*.ModemManager*
Darin Petkove9d12e02011-07-27 15:09:37 -0700317 const std::string dbus_path_; // ModemManager.Modem
Darin Petkovbec79a22011-08-01 14:47:17 -0700318
Ben Chan62028b22012-11-05 11:20:02 -0800319 CellularOperatorInfo *cellular_operator_info_;
Darin Petkov137884a2011-10-26 18:52:47 +0200320 mobile_provider_db *provider_db_;
Ben Chan3ecdf822012-08-06 12:29:23 -0700321 ProxyFactory *proxy_factory_;
Darin Petkov137884a2011-10-26 18:52:47 +0200322
Darin Petkovd9661952011-08-03 16:25:42 -0700323 CellularServiceRefPtr service_;
Chris Masone853b81b2011-06-24 14:11:41 -0700324
Chris Masoneb925cc82011-06-22 15:39:57 -0700325 // Properties
Darin Petkov3335b372011-08-22 11:05:32 -0700326 Operator home_provider_;
Chris Masoneb925cc82011-06-22 15:39:57 -0700327
Jason Glasgow7b461df2012-05-01 16:38:45 -0400328 // User preference to allow or disallow roaming
329 bool allow_roaming_;
330
Chris Masone3bd3c8c2011-06-13 08:20:26 -0700331 DISALLOW_COPY_AND_ASSIGN(Cellular);
332};
333
334} // namespace shill
335
Darin Petkova4ca3c32012-08-17 16:05:24 +0200336#endif // SHILL_CELLULAR_H_