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

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

Issue 12676017: Adding policy support to the new network configuration stack. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed clang errors. Created 7 years, 8 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_profile_client_stub.cc ('k') | chromeos/dbus/shill_service_client_stub.h » ('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 #ifndef CHROMEOS_DBUS_SHILL_SERVICE_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_SHILL_SERVICE_CLIENT_H_
6 #define CHROMEOS_DBUS_SHILL_SERVICE_CLIENT_H_ 6 #define CHROMEOS_DBUS_SHILL_SERVICE_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 bool add_to_watch_list) = 0; 57 bool add_to_watch_list) = 0;
58 virtual void RemoveService(const std::string& service_path) = 0; 58 virtual void RemoveService(const std::string& service_path) = 0;
59 virtual void SetServiceProperty(const std::string& service_path, 59 virtual void SetServiceProperty(const std::string& service_path,
60 const std::string& property, 60 const std::string& property,
61 const base::Value& value) = 0; 61 const base::Value& value) = 0;
62 virtual const base::DictionaryValue* GetServiceProperties( 62 virtual const base::DictionaryValue* GetServiceProperties(
63 const std::string& service_path) const = 0; 63 const std::string& service_path) const = 0;
64 virtual void ClearServices() = 0; 64 virtual void ClearServices() = 0;
65 65
66 protected: 66 protected:
67 ~TestInterface() {} 67 virtual ~TestInterface() {}
68 }; 68 };
69 virtual ~ShillServiceClient(); 69 virtual ~ShillServiceClient();
70 70
71 // Factory function, creates a new instance which is owned by the caller. 71 // Factory function, creates a new instance which is owned by the caller.
72 // For normal usage, access the singleton via DBusThreadManager::Get(). 72 // For normal usage, access the singleton via DBusThreadManager::Get().
73 static ShillServiceClient* Create(DBusClientImplementationType type, 73 static ShillServiceClient* Create(DBusClientImplementationType type,
74 dbus::Bus* bus); 74 dbus::Bus* bus);
75 75
76 // Adds a property changed |observer| to the service at |service_path|. 76 // Adds a property changed |observer| to the service at |service_path|.
77 virtual void AddPropertyChangedObserver( 77 virtual void AddPropertyChangedObserver(
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 // Create() should be used instead. 159 // Create() should be used instead.
160 ShillServiceClient(); 160 ShillServiceClient();
161 161
162 private: 162 private:
163 DISALLOW_COPY_AND_ASSIGN(ShillServiceClient); 163 DISALLOW_COPY_AND_ASSIGN(ShillServiceClient);
164 }; 164 };
165 165
166 } // namespace chromeos 166 } // namespace chromeos
167 167
168 #endif // CHROMEOS_DBUS_SHILL_SERVICE_CLIENT_H_ 168 #endif // CHROMEOS_DBUS_SHILL_SERVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/shill_profile_client_stub.cc ('k') | chromeos/dbus/shill_service_client_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698