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

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: 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
« no previous file with comments | « doc/manager-api.txt ('k') | include/crypto.h » ('j') | src/profile.c » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: doc/profile-api.txt
diff --git a/doc/profile-api.txt b/doc/profile-api.txt
index bb465a85716051a0d9de53d3dcdec799e2d57f14..f06b4583135f99320b408a713a24d5123e003f05 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]
+ Timesamp entry was last written.
Nathan Williams 2011/03/09 21:28:10 Typo.
Sam Leffler 2011/03/09 22:31:14 Done
+
+ 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
+ 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.
« no previous file with comments | « doc/manager-api.txt ('k') | include/crypto.h » ('j') | src/profile.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698