Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(893)

Side by Side Diff: chromeos/dbus/shill_manager_client.cc

Issue 24558004: Track active references in ShillClientHelper (Take 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chromeos/dbus/shill_ipconfig_client.cc ('k') | chromeos/dbus/shill_profile_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chromeos/dbus/shill_ipconfig_client.cc ('k') | chromeos/dbus/shill_profile_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698