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

Unified Diff: doc/profile-api.txt

Issue 6659006: flimflam: add support for multiple profiles (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/flimflam.git@master
Patch Set: rebase Created 9 years, 9 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
Index: doc/profile-api.txt
diff --git a/doc/profile-api.txt b/doc/profile-api.txt
index bb465a85716051a0d9de53d3dcdec799e2d57f14..53d9bf302c56a746673fc0f341997e0e8487bc52 100644
--- a/doc/profile-api.txt
+++ b/doc/profile-api.txt
@@ -12,6 +12,52 @@ Methods dict GetProperties()
Possible Errors: [service].Error.InvalidArguments
+ void SetProperty(string name, variant value)
+
+ Changes the value of the specified property. Only
+ properties that are listed as read-write are
+ changeable. On success a PropertyChanged signal
+ will be emitted.
+
+ Possible Errors: [service].Error.InvalidArguments
+ [service].Error.InvalidProperty
+
+ dict GetEntry(object path)
+
+ Returns properties for the profile entry. The
+ following read-only properties are returned:
+
+ string Name [readonly]
+ Name of this profile.
+
+ boolean AutoConnect [readonly]
+ Auto-connection setting.
+
+ string Failure [readonly]
+ Reason for last failure.
+
+ string Modified [readonly]
+ Timestamp entry was last written.
+
+ string Mode [readonly]
+ For WiFi services, the operating mode.
+
+ string Security [readonly]
+ For WiFi services, the security type.
+
+ Possible Errors: [service].Error.NotFound
+ [service].Error.InvalidArguments
+
+ dict DeleteEntry(object path)
+
+ Removes the entry from the profile. Any associated
+ service has it's security credentials revoked but
Eric Shienbrood 2011/03/23 21:14:21 it's => its
Sam Leffler 2011/03/29 18:25:35 Done
+ is otherwise unaffected (i.e. it will remain connected).
+
+ Possible Errors: [service].Error.PermissionDenied
+ [service].Error.InvalidArguments
+ [service].Error.NotFound
+
Signals PropertyChanged(string name, variant value)
This signal indicates a changed value of the given
@@ -30,3 +76,8 @@ Properties string Name [readonly]
array{object} Services [readonly]
List of service objects.
+
+ array{object} Entries [readonly]
+
+ List of profile Entry objects. Use the GetEntry
+ method to retrieve an Entry's contents.

Powered by Google App Engine
This is Rietveld 408576698