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

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

Issue 280023003: Implement networkingPrivate.getNetworks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Feedback Created 6 years, 7 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
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 #ifndef CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 virtual void ClearProperties() = 0; 58 virtual void ClearProperties() = 0;
59 59
60 // Set manager property. 60 // Set manager property.
61 virtual void SetManagerProperty(const std::string& key, 61 virtual void SetManagerProperty(const std::string& key,
62 const base::Value& value) = 0; 62 const base::Value& value) = 0;
63 63
64 // Add/Remove/ClearService should only be called from ShillServiceClient. 64 // Add/Remove/ClearService should only be called from ShillServiceClient.
65 virtual void AddManagerService(const std::string& service_path, 65 virtual void AddManagerService(const std::string& service_path,
66 bool add_to_visible_list, 66 bool add_to_visible_list,
67 bool add_to_watch_list) = 0; 67 bool add_to_watch_list) = 0;
68 virtual void RemoveManagerService(const std::string& service_path) = 0; 68 virtual void RemoveManagerService(const std::string& service_path,
pneubeck (no reviews) 2014/05/16 13:18:55 comment above doesn't apply anymore.
stevenjb 2014/05/16 17:35:23 Done.
69 bool remove_from_complete_list) = 0;
69 virtual void ClearManagerServices() = 0; 70 virtual void ClearManagerServices() = 0;
70 71
71 // Called by ShillServiceClient when a service's State property changes, 72 // Called by ShillServiceClient when a service's State property changes,
72 // before notifying observers. Sets the DefaultService property to empty 73 // before notifying observers. Sets the DefaultService property to empty
73 // if the state changes to a non-connected state. 74 // if the state changes to a non-connected state.
74 virtual void ServiceStateChanged(const std::string& service_path, 75 virtual void ServiceStateChanged(const std::string& service_path,
75 const std::string& state) = 0; 76 const std::string& state) = 0;
76 77
77 // Called by ShillServiceClient when a service's State property changes, 78 // Called by ShillServiceClient when a service's State property changes,
78 // after notifying observers. Services are sorted first by Active or 79 // after notifying observers. Services are sorted first by Active or
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 // Create() should be used instead. 229 // Create() should be used instead.
229 ShillManagerClient(); 230 ShillManagerClient();
230 231
231 private: 232 private:
232 DISALLOW_COPY_AND_ASSIGN(ShillManagerClient); 233 DISALLOW_COPY_AND_ASSIGN(ShillManagerClient);
233 }; 234 };
234 235
235 } // namespace chromeos 236 } // namespace chromeos
236 237
237 #endif // CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_ 238 #endif // CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698