blob: 051930c448ff46d5ae2175690609259e01db1c32 [file] [log] [blame]
Chris Masone3bd3c8c2011-06-13 08:20:26 -07001// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef SHILL_CELLULAR_
6#define SHILL_CELLULAR_
7
8#include <string>
9
10#include <base/basictypes.h>
Darin Petkovc5f56562011-08-06 16:40:05 -070011#include <base/task.h>
Darin Petkove9d12e02011-07-27 15:09:37 -070012#include <gtest/gtest_prod.h> // for FRIEND_TEST
Chris Masone3bd3c8c2011-06-13 08:20:26 -070013
Darin Petkovc5f56562011-08-06 16:40:05 -070014#include "shill/dbus_properties.h"
Chris Masone3bd3c8c2011-06-13 08:20:26 -070015#include "shill/device.h"
Paul Stewart26b327e2011-10-19 11:38:09 -070016#include "shill/event_dispatcher.h"
Darin Petkovd9661952011-08-03 16:25:42 -070017#include "shill/modem_cdma_proxy_interface.h"
Darin Petkova1e0a1c2011-08-25 15:08:33 -070018#include "shill/modem_gsm_network_proxy_interface.h"
Darin Petkovc5f56562011-08-06 16:40:05 -070019#include "shill/modem_proxy_interface.h"
Chris Masone2b105542011-06-22 10:58:09 -070020#include "shill/refptr_types.h"
Chris Masone3bd3c8c2011-06-13 08:20:26 -070021
Darin Petkov137884a2011-10-26 18:52:47 +020022struct mobile_provider_db;
23
Chris Masone3bd3c8c2011-06-13 08:20:26 -070024namespace shill {
25
Darin Petkovdaf43862011-10-27 11:37:28 +020026class CellularCapability;
Darin Petkov4d6d9412011-08-24 13:19:54 -070027class Error;
Darin Petkove604f702011-07-28 15:51:17 -070028class ModemSimpleProxyInterface;
Darin Petkovab565bb2011-10-06 02:55:51 -070029class ProxyFactory;
Darin Petkove9d12e02011-07-27 15:09:37 -070030
Darin Petkovd9661952011-08-03 16:25:42 -070031class Cellular : public Device,
Darin Petkov580c7af2011-10-24 12:32:50 +020032 public ModemCDMAProxyDelegate,
Darin Petkov580c7af2011-10-24 12:32:50 +020033 public ModemGSMNetworkProxyDelegate,
34 public ModemProxyDelegate {
Chris Masone3bd3c8c2011-06-13 08:20:26 -070035 public:
Darin Petkove9d12e02011-07-27 15:09:37 -070036 enum Type {
37 kTypeGSM,
38 kTypeCDMA
39 };
40
Darin Petkov0828f5f2011-08-11 10:18:52 -070041 // The device states progress linearly from Disabled to Linked.
Darin Petkove9d12e02011-07-27 15:09:37 -070042 enum State {
Darin Petkov0828f5f2011-08-11 10:18:52 -070043 // This is the initial state of the modem and indicates that the modem radio
44 // is not turned on.
Darin Petkove9d12e02011-07-27 15:09:37 -070045 kStateDisabled,
Darin Petkov0828f5f2011-08-11 10:18:52 -070046 // This state indicates that the modem radio is turned on, and it should be
47 // possible to measure signal strength.
Darin Petkove9d12e02011-07-27 15:09:37 -070048 kStateEnabled,
Darin Petkov0828f5f2011-08-11 10:18:52 -070049 // The modem has registered with a network and has signal quality
Darin Petkov51489002011-08-18 13:13:20 -070050 // measurements. A cellular service object is created.
Darin Petkove9d12e02011-07-27 15:09:37 -070051 kStateRegistered,
Darin Petkov0828f5f2011-08-11 10:18:52 -070052 // The modem has connected to a network.
Darin Petkove9d12e02011-07-27 15:09:37 -070053 kStateConnected,
Darin Petkov0828f5f2011-08-11 10:18:52 -070054 // The network interface is UP.
55 kStateLinked,
Darin Petkove9d12e02011-07-27 15:09:37 -070056 };
57
Darin Petkovbac96002011-08-09 13:22:00 -070058 // These should be kept in sync with ModemManager's mm-modem.h:MMModemState.
59 enum ModemState {
60 kModemStateUnknown = 0,
61 kModemStateDisabled = 10,
62 kModemStateDisabling = 20,
63 kModemStateEnabling = 30,
64 kModemStateEnabled = 40,
65 kModemStateSearching = 50,
66 kModemStateRegistered = 60,
67 kModemStateDisconnecting = 70,
68 kModemStateConnecting = 80,
69 kModemStateConnected = 90,
70 };
71
Darin Petkov3335b372011-08-22 11:05:32 -070072 class Operator {
73 public:
74 Operator();
75 ~Operator();
76
77 void CopyFrom(const Operator &oper);
78
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
Chris Masone889666b2011-07-03 12:58:50 -070096 struct SimLockStatus {
97 public:
Darin Petkove9d12e02011-07-27 15:09:37 -070098 SimLockStatus() : retries_left(0) {}
Darin Petkov48a511a2011-09-15 10:33:37 -070099 SimLockStatus(const std::string &in_lock_type, uint32 in_retries_left)
100 : lock_type(in_lock_type),
101 retries_left(in_retries_left) {}
Darin Petkove9d12e02011-07-27 15:09:37 -0700102
Chris Masone889666b2011-07-03 12:58:50 -0700103 std::string lock_type;
104 uint32 retries_left;
105 };
106
Darin Petkovc5f56562011-08-06 16:40:05 -0700107 static const char kConnectPropertyPhoneNumber[];
108
Darin Petkove9d12e02011-07-27 15:09:37 -0700109 // |owner| is the ModemManager DBus service owner (e.g., ":1.17"). |path| is
110 // the ModemManager.Modem DBus object path (e.g.,
111 // "/org/chromium/ModemManager/Gobi/0").
Chris Masone3bd3c8c2011-06-13 08:20:26 -0700112 Cellular(ControlInterface *control_interface,
113 EventDispatcher *dispatcher,
114 Manager *manager,
Darin Petkove9d12e02011-07-27 15:09:37 -0700115 const std::string &link_name,
Chris Masone626719f2011-08-18 16:58:48 -0700116 const std::string &address,
Darin Petkove9d12e02011-07-27 15:09:37 -0700117 int interface_index,
118 Type type,
119 const std::string &owner,
Darin Petkov137884a2011-10-26 18:52:47 +0200120 const std::string &path,
121 mobile_provider_db *provider_db);
Darin Petkove9d12e02011-07-27 15:09:37 -0700122 virtual ~Cellular();
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 Petkovb100ae72011-08-24 16:19:45 -0700128 // Asynchronously activates the modem. Populates |error| on failure, leaves it
129 // unchanged otherwise.
130 void Activate(const std::string &carrier, Error *error);
Darin Petkovc408e692011-08-17 13:47:15 -0700131
Darin Petkovbac96002011-08-09 13:22:00 -0700132 void set_modem_state(ModemState state) { modem_state_ = state; }
133 ModemState modem_state() const { return modem_state_; }
134
Darin Petkov48a511a2011-09-15 10:33:37 -0700135 const SimLockStatus &sim_lock_status() const { return sim_lock_status_; }
136 void set_sim_lock_status(const SimLockStatus &s) { sim_lock_status_ = s; }
137
Darin Petkovdaf43862011-10-27 11:37:28 +0200138 const std::string &dbus_owner() const { return dbus_owner_; }
139 const std::string &dbus_path() const { return dbus_path_; }
140
Darin Petkov20c13ec2011-11-09 15:07:15 +0100141 uint32 gsm_registration_state() const { return gsm_.registration_state; }
142 uint32 gsm_access_technology() const { return gsm_.access_technology; }
143
144 uint32 cdma_registration_state_evdo() const {
145 return cdma_.registration_state_evdo;
146 }
147 uint32 cdma_registration_state_1x() const {
148 return cdma_.registration_state_1x;
149 }
150
Darin Petkovcb547732011-11-09 13:55:26 +0100151 const std::string &meid() const { return meid_; }
152 void set_meid(const std::string &meid) { meid_ = meid; }
153
154 const std::string &imei() const { return imei_; }
155 void set_imei(const std::string &imei) { imei_ = imei; }
156
157 const std::string &imsi() const { return imsi_; }
158 void set_imsi(const std::string &imsi) { imsi_ = imsi; }
159
160 const std::string &spn() const { return gsm_.spn; }
161 void set_spn(const std::string &spn) { gsm_.spn = spn; }
162
163 const std::string &mdn() const { return mdn_; }
164 void set_mdn(const std::string &mdn) { mdn_ = mdn; }
165
Darin Petkovdaf43862011-10-27 11:37:28 +0200166 ProxyFactory *proxy_factory() const { return proxy_factory_; }
167
Darin Petkovb05315f2011-11-07 10:14:25 +0100168 ModemCDMAProxyInterface *modem_cdma_proxy() const {
169 return cdma_proxy_.get();
170 }
Darin Petkovdaf43862011-10-27 11:37:28 +0200171 void set_modem_cdma_proxy(ModemCDMAProxyInterface *proxy) {
172 cdma_proxy_.reset(proxy);
173 }
Darin Petkovb05315f2011-11-07 10:14:25 +0100174 ModemGSMNetworkProxyInterface *modem_gsm_network_proxy() const {
175 return gsm_network_proxy_.get();
176 }
Darin Petkovdaf43862011-10-27 11:37:28 +0200177 void set_modem_gsm_network_proxy(ModemGSMNetworkProxyInterface *proxy) {
178 gsm_network_proxy_.reset(proxy);
179 }
180
Darin Petkov48a511a2011-09-15 10:33:37 -0700181 void SetGSMAccessTechnology(uint32 access_technology);
182
Darin Petkove9d12e02011-07-27 15:09:37 -0700183 // Inherited from Device.
184 virtual void Start();
185 virtual void Stop();
Paul Stewartfdd16072011-09-16 12:41:35 -0700186 virtual bool TechnologyIs(Technology::Identifier type) const;
Darin Petkov0828f5f2011-08-11 10:18:52 -0700187 virtual void LinkEvent(unsigned int flags, unsigned int change);
Darin Petkovc0865312011-09-16 15:31:20 -0700188 virtual void Scan(Error *error);
Darin Petkov9ae310f2011-08-30 15:41:13 -0700189 virtual void RegisterOnNetwork(const std::string &network_id, Error *error);
Darin Petkove42e1012011-08-31 12:35:04 -0700190 virtual void RequirePIN(const std::string &pin, bool require, Error *error);
191 virtual void EnterPIN(const std::string &pin, Error *error);
192 virtual void UnblockPIN(const std::string &unblock_code,
193 const std::string &pin,
194 Error *error);
195 virtual void ChangePIN(const std::string &old_pin,
196 const std::string &new_pin,
197 Error *error);
Chris Masone3bd3c8c2011-06-13 08:20:26 -0700198
199 private:
Darin Petkovab565bb2011-10-06 02:55:51 -0700200 friend class CellularTest;
Darin Petkov20c13ec2011-11-09 15:07:15 +0100201 friend class CellularCapabilityCDMATest;
202 friend class CellularCapabilityGSMTest;
Darin Petkovc408e692011-08-17 13:47:15 -0700203 FRIEND_TEST(CellularTest, Activate);
Darin Petkov51489002011-08-18 13:13:20 -0700204 FRIEND_TEST(CellularTest, ActivateError);
Darin Petkov3335b372011-08-22 11:05:32 -0700205 FRIEND_TEST(CellularTest, CreateService);
Darin Petkovc5f56562011-08-06 16:40:05 -0700206 FRIEND_TEST(CellularTest, Connect);
Darin Petkovc408e692011-08-17 13:47:15 -0700207 FRIEND_TEST(CellularTest, GetCDMAActivationStateString);
Darin Petkov51489002011-08-18 13:13:20 -0700208 FRIEND_TEST(CellularTest, GetCDMAActivationErrorString);
Darin Petkovbec79a22011-08-01 14:47:17 -0700209 FRIEND_TEST(CellularTest, GetCDMARegistrationState);
Darin Petkovd9661952011-08-03 16:25:42 -0700210 FRIEND_TEST(CellularTest, GetCDMASignalQuality);
Darin Petkov22b72bf2011-08-29 14:01:20 -0700211 FRIEND_TEST(CellularTest, GetGSMSignalQuality);
Darin Petkovceb68172011-07-29 14:47:48 -0700212 FRIEND_TEST(CellularTest, GetModemInfo);
213 FRIEND_TEST(CellularTest, GetModemStatus);
Darin Petkove9d12e02011-07-27 15:09:37 -0700214 FRIEND_TEST(CellularTest, GetStateString);
215 FRIEND_TEST(CellularTest, GetTypeString);
Darin Petkovbec79a22011-08-01 14:47:17 -0700216 FRIEND_TEST(CellularTest, InitProxiesCDMA);
217 FRIEND_TEST(CellularTest, InitProxiesGSM);
Darin Petkovc0865312011-09-16 15:31:20 -0700218 FRIEND_TEST(CellularTest, ParseScanResult);
Darin Petkov137884a2011-10-26 18:52:47 +0200219 FRIEND_TEST(CellularTest, ParseScanResultProviderLookup);
Darin Petkov9ae310f2011-08-30 15:41:13 -0700220 FRIEND_TEST(CellularTest, RegisterOnNetwork);
221 FRIEND_TEST(CellularTest, RegisterOnNetworkError);
Darin Petkov48a511a2011-09-15 10:33:37 -0700222 FRIEND_TEST(CellularTest, SetGSMAccessTechnology);
Darin Petkovc0865312011-09-16 15:31:20 -0700223 FRIEND_TEST(CellularTest, Scan);
Darin Petkovbac96002011-08-09 13:22:00 -0700224 FRIEND_TEST(CellularTest, StartConnected);
Darin Petkova1e0a1c2011-08-25 15:08:33 -0700225 FRIEND_TEST(CellularTest, StartCDMARegister);
Darin Petkov9bac6fe2011-08-26 12:49:05 -0700226 FRIEND_TEST(CellularTest, StartGSMRegister);
Darin Petkov0828f5f2011-08-11 10:18:52 -0700227 FRIEND_TEST(CellularTest, StartLinked);
Darin Petkov137884a2011-10-26 18:52:47 +0200228 FRIEND_TEST(CellularTest, UpdateGSMOperatorInfo);
Darin Petkovbac96002011-08-09 13:22:00 -0700229
Darin Petkov9bac6fe2011-08-26 12:49:05 -0700230 struct CDMA {
231 CDMA();
232
233 uint32 registration_state_evdo;
234 uint32 registration_state_1x;
235 uint32 activation_state;
236
237 uint16 prl_version;
238 std::string payment_url;
239 std::string usage_url;
240 };
241
242 struct GSM {
243 GSM();
244
245 uint32 registration_state;
246 uint32 access_technology;
247 std::string network_id;
248 std::string operator_name;
Darin Petkov137884a2011-10-26 18:52:47 +0200249 std::string operator_country;
Darin Petkov975b5e72011-08-30 11:48:08 -0700250 std::string spn;
Darin Petkov9bac6fe2011-08-26 12:49:05 -0700251 };
252
Darin Petkovc0865312011-09-16 15:31:20 -0700253 static const char kNetworkPropertyAccessTechnology[];
254 static const char kNetworkPropertyID[];
255 static const char kNetworkPropertyLongName[];
256 static const char kNetworkPropertyShortName[];
257 static const char kNetworkPropertyStatus[];
Darin Petkovbac96002011-08-09 13:22:00 -0700258 static const char kPhoneNumberCDMA[];
259 static const char kPhoneNumberGSM[];
Darin Petkove9d12e02011-07-27 15:09:37 -0700260
Darin Petkov0828f5f2011-08-11 10:18:52 -0700261 void SetState(State state);
262
Darin Petkovc5f56562011-08-06 16:40:05 -0700263 void ConnectTask(const DBusPropertiesMap &properties);
Darin Petkovc0865312011-09-16 15:31:20 -0700264 void ScanTask();
Darin Petkovc408e692011-08-17 13:47:15 -0700265 void ActivateTask(const std::string &carrier);
Darin Petkov9ae310f2011-08-30 15:41:13 -0700266 void RegisterOnNetworkTask(const std::string &network_id);
Darin Petkovc5f56562011-08-06 16:40:05 -0700267
Darin Petkovbac96002011-08-09 13:22:00 -0700268 // Invoked when the modem is connected to the cellular network to transition
269 // to the network-connected state and bring the network interface up.
270 void EstablishLink();
271
Chris Masone889666b2011-07-03 12:58:50 -0700272 StrIntPair SimLockStatusToProperty();
Darin Petkov48a511a2011-09-15 10:33:37 -0700273
mukesh agrawalffa3d042011-10-06 15:26:10 -0700274 void HelpRegisterDerivedStrIntPair(
275 const std::string &name,
276 StrIntPair(Cellular::*get)(void),
277 void(Cellular::*set)(const StrIntPair&, Error *));
Chris Masone889666b2011-07-03 12:58:50 -0700278
Darin Petkovdaf43862011-10-27 11:37:28 +0200279 void InitCapability();
Darin Petkovbec79a22011-08-01 14:47:17 -0700280 void InitProxies();
281
Darin Petkovcc044422011-08-17 13:30:06 -0700282 std::string GetTypeString() const;
283 static std::string GetStateString(State state);
Darin Petkove9d12e02011-07-27 15:09:37 -0700284
Darin Petkovc408e692011-08-17 13:47:15 -0700285 static std::string GetCDMAActivationStateString(uint32 state);
Darin Petkov51489002011-08-18 13:13:20 -0700286 static std::string GetCDMAActivationErrorString(uint32 error);
Darin Petkovc408e692011-08-17 13:47:15 -0700287
Darin Petkovf5f61e02011-07-29 11:35:40 -0700288 void EnableModem();
289 void GetModemStatus();
Darin Petkovceb68172011-07-29 14:47:48 -0700290 void GetGSMProperties();
291 void RegisterGSMModem();
Darin Petkovceb68172011-07-29 14:47:48 -0700292
Darin Petkovd9661952011-08-03 16:25:42 -0700293 // Obtains modem's manufacturer, model ID, and hardware revision.
Darin Petkovceb68172011-07-29 14:47:48 -0700294 void GetModemInfo();
Darin Petkovf5f61e02011-07-29 11:35:40 -0700295
Darin Petkovbec79a22011-08-01 14:47:17 -0700296 void GetModemRegistrationState();
297 void GetCDMARegistrationState();
298 void GetGSMRegistrationState();
299
Darin Petkovd9661952011-08-03 16:25:42 -0700300 // Processes a change in the modem registration state, possibly creating,
301 // destroying or updating the CellularService.
302 void HandleNewRegistrationState();
Darin Petkov0828f5f2011-08-11 10:18:52 -0700303 void HandleNewRegistrationStateTask();
Darin Petkovd9661952011-08-03 16:25:42 -0700304
305 void CreateService();
306
307 void GetModemSignalQuality();
308 uint32 GetCDMASignalQuality();
309 uint32 GetGSMSignalQuality();
310
311 void HandleNewSignalQuality(uint32 strength);
312
Darin Petkovc408e692011-08-17 13:47:15 -0700313 void HandleNewCDMAActivationState(uint32 error);
314
Darin Petkov137884a2011-10-26 18:52:47 +0200315 // Updates the GSM operator name and country based on a newly obtained network
316 // id.
317 void UpdateGSMOperatorInfo();
318
319 // Updates the serving operator on the active service.
320 void UpdateServingOperator();
321
Darin Petkovc0865312011-09-16 15:31:20 -0700322 Stringmap ParseScanResult(
323 const ModemGSMNetworkProxyInterface::ScanResult &result);
324
Darin Petkov580c7af2011-10-24 12:32:50 +0200325 // Signal callbacks inherited from ModemCDMAProxyDelegate.
Darin Petkovb27e5442011-08-16 14:36:45 -0700326 virtual void OnCDMAActivationStateChanged(
327 uint32 activation_state,
328 uint32 activation_error,
329 const DBusPropertiesMap &status_changes);
Darin Petkovd9661952011-08-03 16:25:42 -0700330 virtual void OnCDMARegistrationStateChanged(uint32 state_1x,
331 uint32 state_evdo);
332 virtual void OnCDMASignalQualityChanged(uint32 strength);
333
Darin Petkov580c7af2011-10-24 12:32:50 +0200334 // Signal callbacks inherited from ModemGSMNetworkProxyDelegate.
Darin Petkova1e0a1c2011-08-25 15:08:33 -0700335 virtual void OnGSMNetworkModeChanged(uint32 mode);
336 virtual void OnGSMRegistrationInfoChanged(uint32 status,
337 const std::string &operator_code,
338 const std::string &operator_name);
339 virtual void OnGSMSignalQualityChanged(uint32 quality);
340
Darin Petkov580c7af2011-10-24 12:32:50 +0200341 // Signal callbacks inherited from ModemProxyDelegate.
Darin Petkovc5f56562011-08-06 16:40:05 -0700342 virtual void OnModemStateChanged(uint32 old_state,
343 uint32 new_state,
344 uint32 reason);
345
Darin Petkovab565bb2011-10-06 02:55:51 -0700346 // Store cached copies of singletons for speed/ease of testing.
347 ProxyFactory *proxy_factory_;
348
Darin Petkove9d12e02011-07-27 15:09:37 -0700349 Type type_;
350 State state_;
Darin Petkovbac96002011-08-09 13:22:00 -0700351 ModemState modem_state_;
Darin Petkove9d12e02011-07-27 15:09:37 -0700352
Darin Petkovdaf43862011-10-27 11:37:28 +0200353 scoped_ptr<CellularCapability> capability_;
354
Darin Petkove9d12e02011-07-27 15:09:37 -0700355 const std::string dbus_owner_; // ModemManager.Modem
356 const std::string dbus_path_; // ModemManager.Modem
357 scoped_ptr<ModemProxyInterface> proxy_;
Darin Petkove604f702011-07-28 15:51:17 -0700358 scoped_ptr<ModemSimpleProxyInterface> simple_proxy_;
Darin Petkovbec79a22011-08-01 14:47:17 -0700359 scoped_ptr<ModemCDMAProxyInterface> cdma_proxy_;
Darin Petkova1e0a1c2011-08-25 15:08:33 -0700360 scoped_ptr<ModemGSMNetworkProxyInterface> gsm_network_proxy_;
Darin Petkovbec79a22011-08-01 14:47:17 -0700361
Darin Petkov137884a2011-10-26 18:52:47 +0200362 mobile_provider_db *provider_db_;
363
Darin Petkovbec79a22011-08-01 14:47:17 -0700364 CDMA cdma_;
Darin Petkov9bac6fe2011-08-26 12:49:05 -0700365 GSM gsm_;
Darin Petkove9d12e02011-07-27 15:09:37 -0700366
Darin Petkovd9661952011-08-03 16:25:42 -0700367 CellularServiceRefPtr service_;
Chris Masone853b81b2011-06-24 14:11:41 -0700368
Darin Petkovc5f56562011-08-06 16:40:05 -0700369 ScopedRunnableMethodFactory<Cellular> task_factory_;
370
Chris Masoneb925cc82011-06-22 15:39:57 -0700371 // Properties
372 bool allow_roaming_;
373 std::string carrier_;
374 std::string meid_;
375 std::string imei_;
376 std::string imsi_;
377 std::string esn_;
378 std::string mdn_;
379 std::string min_;
380 std::string model_id_;
381 std::string manufacturer_;
382 std::string firmware_revision_;
383 std::string hardware_revision_;
Chris Masoneb925cc82011-06-22 15:39:57 -0700384 bool scanning_;
385 uint16 scan_interval_;
Darin Petkova1e0a1c2011-08-25 15:08:33 -0700386 std::string selected_network_;
Darin Petkovc0865312011-09-16 15:31:20 -0700387 Stringmaps found_networks_;
Chris Masone889666b2011-07-03 12:58:50 -0700388 SimLockStatus sim_lock_status_;
Darin Petkov3335b372011-08-22 11:05:32 -0700389 Operator home_provider_;
Chris Masoneb925cc82011-06-22 15:39:57 -0700390
Chris Masone3bd3c8c2011-06-13 08:20:26 -0700391 DISALLOW_COPY_AND_ASSIGN(Cellular);
392};
393
394} // namespace shill
395
396#endif // SHILL_CELLULAR_