OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chromeos/dbus/shill_manager_client.h" | 5 #include "chromeos/dbus/shill_manager_client.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 } | 212 } |
213 | 213 |
214 virtual TestInterface* GetTestInterface() OVERRIDE { | 214 virtual TestInterface* GetTestInterface() OVERRIDE { |
215 return NULL; | 215 return NULL; |
216 } | 216 } |
217 | 217 |
218 protected: | 218 protected: |
219 virtual void Init(dbus::Bus* bus) OVERRIDE { | 219 virtual void Init(dbus::Bus* bus) OVERRIDE { |
220 proxy_ = bus->GetObjectProxy(shill::kFlimflamServiceName, | 220 proxy_ = bus->GetObjectProxy(shill::kFlimflamServiceName, |
221 dbus::ObjectPath(shill::kFlimflamServicePath)); | 221 dbus::ObjectPath(shill::kFlimflamServicePath)); |
222 helper_.reset(new ShillClientHelper(bus, proxy_)); | 222 helper_.reset(new ShillClientHelper(proxy_)); |
223 helper_->MonitorPropertyChanged(shill::kFlimflamManagerInterface); | 223 helper_->MonitorPropertyChanged(shill::kFlimflamManagerInterface); |
224 } | 224 } |
225 | 225 |
226 private: | 226 private: |
227 dbus::ObjectProxy* proxy_; | 227 dbus::ObjectProxy* proxy_; |
228 scoped_ptr<ShillClientHelper> helper_; | 228 scoped_ptr<ShillClientHelper> helper_; |
229 | 229 |
230 DISALLOW_COPY_AND_ASSIGN(ShillManagerClientImpl); | 230 DISALLOW_COPY_AND_ASSIGN(ShillManagerClientImpl); |
231 }; | 231 }; |
232 | 232 |
(...skipping 13 matching lines...) Expand all Loading... |
246 } | 246 } |
247 | 247 |
248 // ShillManagerClient::VerificationProperties implementation. | 248 // ShillManagerClient::VerificationProperties implementation. |
249 ShillManagerClient::VerificationProperties::VerificationProperties() { | 249 ShillManagerClient::VerificationProperties::VerificationProperties() { |
250 } | 250 } |
251 | 251 |
252 ShillManagerClient::VerificationProperties::~VerificationProperties() { | 252 ShillManagerClient::VerificationProperties::~VerificationProperties() { |
253 } | 253 } |
254 | 254 |
255 } // namespace chromeos | 255 } // namespace chromeos |
OLD | NEW |