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

Unified Diff: chromeos_network.h

Issue 6896001: Implement SetNetworkDeviceProperty() and ClearNetworkDeviceProperty(). (Closed) Base URL: ssh://gitrw.chromium.org:9222/cros.git@master
Patch Set: Slight tune-up of test program Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos_cros_api.h ('k') | chromeos_network.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos_network.h
diff --git a/chromeos_network.h b/chromeos_network.h
index 7d405f4c90f5bda5d552230f967306a164d1c277..8b68d212bf78c0106671475e59fca23ebce1dcbc 100644
--- a/chromeos_network.h
+++ b/chromeos_network.h
@@ -135,6 +135,17 @@ extern void (*SetNetworkServiceProperty)(const char* service_path,
extern void (*ClearNetworkServiceProperty)(const char* service_path,
const char* property);
+// Set a property of a device to the provided value
+//
+// Success is indicated by the receipt of a matching PropertyChanged signal.
+extern void (*SetNetworkDeviceProperty)(const char* device_path,
+ const char* property,
+ const ::Value* setting);
+
+// Clear a property of a device
+extern void (*ClearNetworkDeviceProperty)(const char* device_path,
+ const char* property);
+
// Connects to the network with the |service_path|.
//
// Set |passphrase| to NULL if the network doesn't require authentication.
« no previous file with comments | « chromeos_cros_api.h ('k') | chromeos_network.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698