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

Side by Side Diff: chromeos/dbus/shill_device_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/mock_shill_profile_client.h ('k') | chromeos/dbus/shill_manager_client.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_DEVICE_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_SHILL_DEVICE_CLIENT_H_
6 #define CHROMEOS_DBUS_SHILL_DEVICE_CLIENT_H_ 6 #define CHROMEOS_DBUS_SHILL_DEVICE_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 const std::string& type, 48 const std::string& type,
49 const std::string& object_path) = 0; 49 const std::string& object_path) = 0;
50 virtual void RemoveDevice(const std::string& device_path) = 0; 50 virtual void RemoveDevice(const std::string& device_path) = 0;
51 virtual void ClearDevices() = 0; 51 virtual void ClearDevices() = 0;
52 virtual void SetDeviceProperty(const std::string& device_path, 52 virtual void SetDeviceProperty(const std::string& device_path,
53 const std::string& name, 53 const std::string& name,
54 const base::Value& value) = 0; 54 const base::Value& value) = 0;
55 virtual std::string GetDevicePathForType(const std::string& type) = 0; 55 virtual std::string GetDevicePathForType(const std::string& type) = 0;
56 56
57 protected: 57 protected:
58 ~TestInterface() {} 58 virtual ~TestInterface() {}
59 }; 59 };
60 60
61 virtual ~ShillDeviceClient(); 61 virtual ~ShillDeviceClient();
62 62
63 // Factory function, creates a new instance which is owned by the caller. 63 // Factory function, creates a new instance which is owned by the caller.
64 // For normal usage, access the singleton via DBusThreadManager::Get(). 64 // For normal usage, access the singleton via DBusThreadManager::Get().
65 static ShillDeviceClient* Create(DBusClientImplementationType type, 65 static ShillDeviceClient* Create(DBusClientImplementationType type,
66 dbus::Bus* bus); 66 dbus::Bus* bus);
67 67
68 // Adds a property changed |observer| for the device at |device_path|. 68 // Adds a property changed |observer| for the device at |device_path|.
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 // Create() should be used instead. 172 // Create() should be used instead.
173 ShillDeviceClient(); 173 ShillDeviceClient();
174 174
175 private: 175 private:
176 DISALLOW_COPY_AND_ASSIGN(ShillDeviceClient); 176 DISALLOW_COPY_AND_ASSIGN(ShillDeviceClient);
177 }; 177 };
178 178
179 } // namespace chromeos 179 } // namespace chromeos
180 180
181 #endif // CHROMEOS_DBUS_SHILL_DEVICE_CLIENT_H_ 181 #endif // CHROMEOS_DBUS_SHILL_DEVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/mock_shill_profile_client.h ('k') | chromeos/dbus/shill_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698