Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 1 | // 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 | |
Chris Masone | 9be4a9d | 2011-05-16 15:44:09 -0700 | [diff] [blame] | 5 | #ifndef SHILL_SERVICE_ |
| 6 | #define SHILL_SERVICE_ |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 7 | |
Chris Masone | 9be4a9d | 2011-05-16 15:44:09 -0700 | [diff] [blame] | 8 | #include <string> |
Chris Masone | 8fe2c7e | 2011-06-09 15:51:19 -0700 | [diff] [blame] | 9 | #include <map> |
| 10 | #include <vector> |
Chris Masone | 9be4a9d | 2011-05-16 15:44:09 -0700 | [diff] [blame] | 11 | |
| 12 | #include <base/memory/ref_counted.h> |
Paul Stewart | ba41b99 | 2011-05-26 07:02:46 -0700 | [diff] [blame] | 13 | #include <base/memory/scoped_ptr.h> |
Darin Petkov | ba40dd3 | 2011-07-11 20:06:39 -0700 | [diff] [blame] | 14 | #include <gtest/gtest_prod.h> // for FRIEND_TEST |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 15 | |
Chris Masone | 3bd3c8c | 2011-06-13 08:20:26 -0700 | [diff] [blame] | 16 | #include "shill/accessor_interface.h" |
Chris Masone | b925cc8 | 2011-06-22 15:39:57 -0700 | [diff] [blame] | 17 | #include "shill/property_store.h" |
Chris Masone | 7aa5f90 | 2011-07-11 11:13:35 -0700 | [diff] [blame] | 18 | #include "shill/refptr_types.h" |
Paul Stewart | 22aa71b | 2011-09-16 12:15:11 -0700 | [diff] [blame] | 19 | #include "shill/technology.h" |
Chris Masone | c1e5041 | 2011-06-07 13:04:53 -0700 | [diff] [blame] | 20 | |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 21 | namespace shill { |
| 22 | |
| 23 | class Connection; |
| 24 | class Configuration; |
Chris Masone | 9be4a9d | 2011-05-16 15:44:09 -0700 | [diff] [blame] | 25 | class ControlInterface; |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 26 | class Endpoint; |
Chris Masone | 8fe2c7e | 2011-06-09 15:51:19 -0700 | [diff] [blame] | 27 | class Error; |
Chris Masone | 9be4a9d | 2011-05-16 15:44:09 -0700 | [diff] [blame] | 28 | class EventDispatcher; |
mukesh agrawal | 7a4e400 | 2011-09-06 11:26:05 -0700 | [diff] [blame] | 29 | class KeyValueStore; |
Chris Masone | 6791a43 | 2011-07-12 13:23:19 -0700 | [diff] [blame] | 30 | class Manager; |
Chris Masone | 9be4a9d | 2011-05-16 15:44:09 -0700 | [diff] [blame] | 31 | class ServiceAdaptorInterface; |
Darin Petkov | ba40dd3 | 2011-07-11 20:06:39 -0700 | [diff] [blame] | 32 | class StoreInterface; |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 33 | |
Chris Masone | 7aa5f90 | 2011-07-11 11:13:35 -0700 | [diff] [blame] | 34 | // A Service is a uniquely named entity, which the system can |
| 35 | // connect in order to begin sending and receiving network traffic. |
| 36 | // All Services are bound to an Entry, which represents the persistable |
| 37 | // state of the Service. If the Entry is populated at the time of Service |
| 38 | // creation, that information is used to prime the Service. If not, the Entry |
| 39 | // becomes populated over time. |
Chris Masone | 27c4aa5 | 2011-07-02 13:10:14 -0700 | [diff] [blame] | 40 | class Service : public base::RefCounted<Service> { |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 41 | public: |
Darin Petkov | ba40dd3 | 2011-07-11 20:06:39 -0700 | [diff] [blame] | 42 | static const char kCheckPortalAuto[]; |
| 43 | static const char kCheckPortalFalse[]; |
| 44 | static const char kCheckPortalTrue[]; |
| 45 | |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 46 | enum ConnectFailure { |
Paul Stewart | 03dba0b | 2011-08-22 16:32:45 -0700 | [diff] [blame] | 47 | kFailureUnknown, |
| 48 | kFailureActivationFailure, |
| 49 | kFailureOutOfRange, |
| 50 | kFailurePinMissing, |
| 51 | kFailureConfigurationFailed, |
| 52 | kFailureBadCredentials, |
| 53 | kFailureNeedEVDO, |
| 54 | kFailureNeedHomeNetwork, |
| 55 | kFailureOTASPFailure, |
| 56 | kFailureAAAFailure |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 57 | }; |
Chris Masone | 9be4a9d | 2011-05-16 15:44:09 -0700 | [diff] [blame] | 58 | enum ConnectState { |
Paul Stewart | 03dba0b | 2011-08-22 16:32:45 -0700 | [diff] [blame] | 59 | kStateUnknown, |
| 60 | kStateIdle, |
| 61 | kStateAssociating, |
| 62 | kStateConfiguring, |
| 63 | kStateConnected, |
| 64 | kStateDisconnected, |
| 65 | kStateFailure |
Chris Masone | 9be4a9d | 2011-05-16 15:44:09 -0700 | [diff] [blame] | 66 | }; |
Chris Masone | b2e326b | 2011-07-12 13:28:51 -0700 | [diff] [blame] | 67 | struct EapCredentials { |
| 68 | EapCredentials() : use_system_cas(false) {} |
| 69 | std::string identity; |
| 70 | std::string eap; |
| 71 | std::string inner_eap; |
| 72 | std::string anonymous_identity; |
| 73 | std::string client_cert; |
| 74 | std::string cert_id; |
| 75 | std::string private_key; |
| 76 | std::string private_key_password; |
| 77 | std::string key_id; |
| 78 | std::string ca_cert; |
| 79 | std::string ca_cert_id; |
| 80 | bool use_system_cas; |
| 81 | std::string pin; |
| 82 | std::string password; |
| 83 | std::string key_management; |
| 84 | }; |
Chris Masone | 9be4a9d | 2011-05-16 15:44:09 -0700 | [diff] [blame] | 85 | |
Paul Stewart | ac4ac00 | 2011-08-26 12:04:26 -0700 | [diff] [blame] | 86 | static const int kPriorityNone; |
| 87 | |
Chris Masone | 9be4a9d | 2011-05-16 15:44:09 -0700 | [diff] [blame] | 88 | // A constructor for the Service object |
| 89 | Service(ControlInterface *control_interface, |
| 90 | EventDispatcher *dispatcher, |
mukesh agrawal | 7a4e400 | 2011-09-06 11:26:05 -0700 | [diff] [blame] | 91 | Manager *manager, |
| 92 | const std::string &type); |
Chris Masone | 9be4a9d | 2011-05-16 15:44:09 -0700 | [diff] [blame] | 93 | virtual ~Service(); |
Darin Petkov | ba40dd3 | 2011-07-11 20:06:39 -0700 | [diff] [blame] | 94 | |
Darin Petkov | 4d6d941 | 2011-08-24 13:19:54 -0700 | [diff] [blame] | 95 | virtual void Connect(Error *error) = 0; |
Chris Masone | 9be4a9d | 2011-05-16 15:44:09 -0700 | [diff] [blame] | 96 | virtual void Disconnect() = 0; |
Chris Masone | a82b711 | 2011-05-25 15:16:29 -0700 | [diff] [blame] | 97 | |
Darin Petkov | b100ae7 | 2011-08-24 16:19:45 -0700 | [diff] [blame] | 98 | // The default implementation sets |error| to kInvalidArguments. |
| 99 | virtual void ActivateCellularModem(const std::string &carrier, Error *error); |
Darin Petkov | c408e69 | 2011-08-17 13:47:15 -0700 | [diff] [blame] | 100 | |
Paul Stewart | 22aa71b | 2011-09-16 12:15:11 -0700 | [diff] [blame] | 101 | // Base method always returns false. |
| 102 | virtual bool TechnologyIs(const Technology::Identifier type) const; |
| 103 | |
Gaurav Shah | 1b7a616 | 2011-11-09 11:41:01 -0800 | [diff] [blame] | 104 | virtual bool IsActive(Error *error); |
Paul Stewart | 03dba0b | 2011-08-22 16:32:45 -0700 | [diff] [blame] | 105 | |
| 106 | virtual ConnectState state() const { return state_; } |
| 107 | // Updates the state of the Service and alerts the manager. Also |
| 108 | // clears |failure_| if the new state isn't a failure. |
| 109 | virtual void SetState(ConnectState state); |
| 110 | |
Paul Stewart | 22aa71b | 2011-09-16 12:15:11 -0700 | [diff] [blame] | 111 | // State utility functions |
| 112 | bool IsConnected() const { return state() == kStateConnected; } |
| 113 | bool IsConnecting() const { |
| 114 | return state() == kStateAssociating || state() == kStateConfiguring; |
| 115 | } |
| 116 | |
Paul Stewart | 03dba0b | 2011-08-22 16:32:45 -0700 | [diff] [blame] | 117 | virtual ConnectFailure failure() const { return failure_; } |
| 118 | // Records the failure mode, and sets the Service state to "Failure". |
| 119 | virtual void SetFailure(ConnectFailure failure); |
Chris Masone | 3bd3c8c | 2011-06-13 08:20:26 -0700 | [diff] [blame] | 120 | |
Darin Petkov | ba40dd3 | 2011-07-11 20:06:39 -0700 | [diff] [blame] | 121 | // Returns a string that is guaranteed to uniquely identify this Service |
| 122 | // instance. |
mukesh agrawal | d835b20 | 2011-10-07 15:26:47 -0700 | [diff] [blame] | 123 | const std::string &UniqueName() const { return unique_name_; } |
Darin Petkov | afa6fc4 | 2011-06-21 16:21:08 -0700 | [diff] [blame] | 124 | |
Chris Masone | 6791a43 | 2011-07-12 13:23:19 -0700 | [diff] [blame] | 125 | virtual std::string GetRpcIdentifier() const; |
Chris Masone | 3c3f6a1 | 2011-07-01 10:01:41 -0700 | [diff] [blame] | 126 | |
Darin Petkov | ba40dd3 | 2011-07-11 20:06:39 -0700 | [diff] [blame] | 127 | // Returns the unique persistent storage identifier for the service. |
Chris Masone | 6515aab | 2011-10-12 16:19:09 -0700 | [diff] [blame] | 128 | virtual std::string GetStorageIdentifier() const = 0; |
Darin Petkov | ba40dd3 | 2011-07-11 20:06:39 -0700 | [diff] [blame] | 129 | |
Paul Stewart | bba6a5b | 2011-11-02 18:45:59 -0700 | [diff] [blame] | 130 | // Returns whether the service configuration can be loaded from |storage|. |
| 131 | virtual bool IsLoadableFrom(StoreInterface *storage) const; |
| 132 | |
Darin Petkov | ba40dd3 | 2011-07-11 20:06:39 -0700 | [diff] [blame] | 133 | // Loads the service from persistent |storage|. Returns true on success. |
Chris Masone | 9d77993 | 2011-08-25 16:33:41 -0700 | [diff] [blame] | 134 | virtual bool Load(StoreInterface *storage); |
Darin Petkov | ba40dd3 | 2011-07-11 20:06:39 -0700 | [diff] [blame] | 135 | |
| 136 | // Saves the service to persistent |storage|. Returns true on success. |
Chris Masone | 9d77993 | 2011-08-25 16:33:41 -0700 | [diff] [blame] | 137 | virtual bool Save(StoreInterface *storage); |
Darin Petkov | ba40dd3 | 2011-07-11 20:06:39 -0700 | [diff] [blame] | 138 | |
Darin Petkov | afa6fc4 | 2011-06-21 16:21:08 -0700 | [diff] [blame] | 139 | bool auto_connect() const { return auto_connect_; } |
| 140 | void set_auto_connect(bool connect) { auto_connect_ = connect; } |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 141 | |
Paul Stewart | 22aa71b | 2011-09-16 12:15:11 -0700 | [diff] [blame] | 142 | bool favorite() const { return favorite_; } |
| 143 | void set_favorite(bool favorite) { favorite_ = favorite; } |
| 144 | |
| 145 | int32 priority() const { return priority_; } |
| 146 | void set_priority(int32 priority) { priority_ = priority; } |
| 147 | |
Paul Stewart | 1ca3e85 | 2011-11-04 07:50:49 -0700 | [diff] [blame] | 148 | int32 security_level() const { return security_level_; } |
| 149 | void set_security_level(int32 security) { security_level_ = security; } |
Paul Stewart | 22aa71b | 2011-09-16 12:15:11 -0700 | [diff] [blame] | 150 | |
| 151 | int32 strength() const { return strength_; } |
| 152 | void set_strength(int32 strength) { strength_ = strength; } |
| 153 | |
Darin Petkov | 5148900 | 2011-08-18 13:13:20 -0700 | [diff] [blame] | 154 | const std::string &error() const { return error_; } |
| 155 | void set_error(const std::string &error) { error_ = error; } |
| 156 | |
Paul Stewart | 22aa71b | 2011-09-16 12:15:11 -0700 | [diff] [blame] | 157 | // Compare two services. Returns true if Service a should be displayed |
| 158 | // above Service b |
| 159 | static bool Compare(ServiceRefPtr a, |
| 160 | ServiceRefPtr b, |
| 161 | const std::vector<Technology::Identifier> &tech_order); |
| 162 | |
Chris Masone | 34af218 | 2011-08-22 11:59:36 -0700 | [diff] [blame] | 163 | // These are defined in service.cc so that we don't have to include profile.h |
Chris Masone | 9d77993 | 2011-08-25 16:33:41 -0700 | [diff] [blame] | 164 | // TODO(cmasone): right now, these are here only so that we can get the |
| 165 | // profile name as a property. Can we store just the name, and then handle |
| 166 | // setting the profile for this service via |manager_|? |
Chris Masone | 6791a43 | 2011-07-12 13:23:19 -0700 | [diff] [blame] | 167 | const ProfileRefPtr &profile() const; |
| 168 | void set_profile(const ProfileRefPtr &p); |
| 169 | |
mukesh agrawal | de29fa8 | 2011-09-16 16:16:36 -0700 | [diff] [blame] | 170 | PropertyStore *mutable_store() { return &store_; } |
| 171 | const PropertyStore &store() const { return store_; } |
Chris Masone | 27c4aa5 | 2011-07-02 13:10:14 -0700 | [diff] [blame] | 172 | |
mukesh agrawal | b54601c | 2011-06-07 17:39:22 -0700 | [diff] [blame] | 173 | protected: |
Chris Masone | 34af218 | 2011-08-22 11:59:36 -0700 | [diff] [blame] | 174 | // Returns true if a character is allowed to be in a service storage id. |
| 175 | static bool LegalChar(char a) { return isalnum(a) || a == '_'; } |
| 176 | |
mukesh agrawal | d835b20 | 2011-10-07 15:26:47 -0700 | [diff] [blame] | 177 | const std::string &friendly_name() const { return friendly_name_; } |
| 178 | void set_friendly_name(const std::string &n) { friendly_name_ = n; } |
Chris Masone | 9d77993 | 2011-08-25 16:33:41 -0700 | [diff] [blame] | 179 | |
Gaurav Shah | 1b7a616 | 2011-11-09 11:41:01 -0800 | [diff] [blame] | 180 | virtual std::string CalculateState(Error *error); |
Chris Masone | 3bd3c8c | 2011-06-13 08:20:26 -0700 | [diff] [blame] | 181 | |
mukesh agrawal | ffa3d04 | 2011-10-06 15:26:10 -0700 | [diff] [blame] | 182 | void HelpRegisterDerivedBool( |
| 183 | const std::string &name, |
Gaurav Shah | 1b7a616 | 2011-11-09 11:41:01 -0800 | [diff] [blame] | 184 | bool(Service::*get)(Error *), |
mukesh agrawal | ffa3d04 | 2011-10-06 15:26:10 -0700 | [diff] [blame] | 185 | void(Service::*set)(const bool&, Error *)); |
| 186 | void HelpRegisterDerivedString( |
| 187 | const std::string &name, |
Gaurav Shah | 1b7a616 | 2011-11-09 11:41:01 -0800 | [diff] [blame] | 188 | std::string(Service::*get)(Error *), |
mukesh agrawal | ffa3d04 | 2011-10-06 15:26:10 -0700 | [diff] [blame] | 189 | void(Service::*set)(const std::string&, Error *)); |
Chris Masone | 3bd3c8c | 2011-06-13 08:20:26 -0700 | [diff] [blame] | 190 | |
Darin Petkov | ba40dd3 | 2011-07-11 20:06:39 -0700 | [diff] [blame] | 191 | // Assigns |value| to |key| in |storage| if |value| is non-empty and |save| is |
| 192 | // true. Otherwise, removes |key| from |storage|. If |crypted| is true, the |
| 193 | // value is encrypted. |
| 194 | void SaveString(StoreInterface *storage, |
Chris Masone | 34af218 | 2011-08-22 11:59:36 -0700 | [diff] [blame] | 195 | const std::string &id, |
Darin Petkov | ba40dd3 | 2011-07-11 20:06:39 -0700 | [diff] [blame] | 196 | const std::string &key, |
| 197 | const std::string &value, |
| 198 | bool crypted, |
| 199 | bool save); |
| 200 | |
Chris Masone | 34af218 | 2011-08-22 11:59:36 -0700 | [diff] [blame] | 201 | void LoadEapCredentials(StoreInterface *storage, const std::string &id); |
| 202 | void SaveEapCredentials(StoreInterface *storage, const std::string &id); |
Darin Petkov | ba40dd3 | 2011-07-11 20:06:39 -0700 | [diff] [blame] | 203 | |
Paul Stewart | ac4ac00 | 2011-08-26 12:04:26 -0700 | [diff] [blame] | 204 | // Property accessors reserved for subclasses |
| 205 | EventDispatcher *dispatcher() const { return dispatcher_; } |
| 206 | const std::string &GetEAPKeyManagement() const; |
| 207 | void SetEAPKeyManagement(const std::string &key_management); |
mukesh agrawal | b54601c | 2011-06-07 17:39:22 -0700 | [diff] [blame] | 208 | |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 209 | private: |
Darin Petkov | ba40dd3 | 2011-07-11 20:06:39 -0700 | [diff] [blame] | 210 | friend class ServiceAdaptorInterface; |
Paul Stewart | 03dba0b | 2011-08-22 16:32:45 -0700 | [diff] [blame] | 211 | FRIEND_TEST(DeviceTest, SelectedService); |
Darin Petkov | ba40dd3 | 2011-07-11 20:06:39 -0700 | [diff] [blame] | 212 | FRIEND_TEST(ServiceTest, Constructor); |
| 213 | FRIEND_TEST(ServiceTest, Save); |
| 214 | FRIEND_TEST(ServiceTest, SaveString); |
| 215 | FRIEND_TEST(ServiceTest, SaveStringCrypted); |
| 216 | FRIEND_TEST(ServiceTest, SaveStringDontSave); |
| 217 | FRIEND_TEST(ServiceTest, SaveStringEmpty); |
| 218 | |
| 219 | static const char kStorageAutoConnect[]; |
| 220 | static const char kStorageCheckPortal[]; |
| 221 | static const char kStorageEapAnonymousIdentity[]; |
| 222 | static const char kStorageEapCACert[]; |
| 223 | static const char kStorageEapCACertID[]; |
| 224 | static const char kStorageEapCertID[]; |
| 225 | static const char kStorageEapClientCert[]; |
| 226 | static const char kStorageEapEap[]; |
| 227 | static const char kStorageEapIdentity[]; |
| 228 | static const char kStorageEapInnerEap[]; |
| 229 | static const char kStorageEapKeyID[]; |
| 230 | static const char kStorageEapKeyManagement[]; |
| 231 | static const char kStorageEapPIN[]; |
| 232 | static const char kStorageEapPassword[]; |
| 233 | static const char kStorageEapPrivateKey[]; |
| 234 | static const char kStorageEapPrivateKeyPassword[]; |
| 235 | static const char kStorageEapUseSystemCAs[]; |
| 236 | static const char kStorageFavorite[]; |
| 237 | static const char kStorageName[]; |
| 238 | static const char kStoragePriority[]; |
| 239 | static const char kStorageProxyConfig[]; |
| 240 | static const char kStorageSaveCredentials[]; |
| 241 | |
Gaurav Shah | 1b7a616 | 2011-11-09 11:41:01 -0800 | [diff] [blame] | 242 | virtual std::string GetDeviceRpcId(Error *error) = 0; |
Chris Masone | 95207da | 2011-06-29 16:50:49 -0700 | [diff] [blame] | 243 | |
Gaurav Shah | 1b7a616 | 2011-11-09 11:41:01 -0800 | [diff] [blame] | 244 | std::string GetProfileRpcId(Error */*error*/) { |
Chris Masone | 3bd3c8c | 2011-06-13 08:20:26 -0700 | [diff] [blame] | 245 | return ""; // Will need to call Profile to get this. |
| 246 | } |
| 247 | |
Paul Stewart | 22aa71b | 2011-09-16 12:15:11 -0700 | [diff] [blame] | 248 | // Utility function that returns true if a is different from b. When they |
| 249 | // are, "decision" is populated with the boolean value of "a > b". |
| 250 | static bool DecideBetween(int a, int b, bool *decision); |
| 251 | |
Paul Stewart | ac4ac00 | 2011-08-26 12:04:26 -0700 | [diff] [blame] | 252 | ConnectState state_; |
| 253 | ConnectFailure failure_; |
| 254 | bool auto_connect_; |
| 255 | std::string check_portal_; |
| 256 | bool connectable_; |
| 257 | std::string error_; |
| 258 | bool favorite_; |
| 259 | int32 priority_; |
Paul Stewart | 1ca3e85 | 2011-11-04 07:50:49 -0700 | [diff] [blame] | 260 | int32 security_level_; |
Paul Stewart | 22aa71b | 2011-09-16 12:15:11 -0700 | [diff] [blame] | 261 | int32 strength_; |
Paul Stewart | ac4ac00 | 2011-08-26 12:04:26 -0700 | [diff] [blame] | 262 | std::string proxy_config_; |
| 263 | bool save_credentials_; |
| 264 | EapCredentials eap_; // Only saved if |save_credentials_| is true. |
mukesh agrawal | 7a4e400 | 2011-09-06 11:26:05 -0700 | [diff] [blame] | 265 | const std::string type_; |
Paul Stewart | ac4ac00 | 2011-08-26 12:04:26 -0700 | [diff] [blame] | 266 | |
| 267 | ProfileRefPtr profile_; |
| 268 | PropertyStore store_; |
| 269 | |
| 270 | EventDispatcher *dispatcher_; |
mukesh agrawal | 51a7e93 | 2011-07-27 16:18:26 -0700 | [diff] [blame] | 271 | static unsigned int serial_number_; |
mukesh agrawal | d835b20 | 2011-10-07 15:26:47 -0700 | [diff] [blame] | 272 | std::string unique_name_; // MUST be unique amongst service instances |
| 273 | std::string friendly_name_; // MAY be same as |unique_name_| |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 274 | bool available_; |
| 275 | bool configured_; |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 276 | Configuration *configuration_; |
| 277 | Connection *connection_; |
Paul Stewart | ba41b99 | 2011-05-26 07:02:46 -0700 | [diff] [blame] | 278 | scoped_ptr<ServiceAdaptorInterface> adaptor_; |
Chris Masone | 6791a43 | 2011-07-12 13:23:19 -0700 | [diff] [blame] | 279 | Manager *manager_; |
Chris Masone | 3bd3c8c | 2011-06-13 08:20:26 -0700 | [diff] [blame] | 280 | |
mukesh agrawal | b54601c | 2011-06-07 17:39:22 -0700 | [diff] [blame] | 281 | DISALLOW_COPY_AND_ASSIGN(Service); |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 282 | }; |
| 283 | |
| 284 | } // namespace shill |
| 285 | |
| 286 | #endif // SHILL_SERVICE_ |