summaryrefslogtreecommitdiffstats
path: root/rlz/lib
diff options
context:
space:
mode:
Diffstat (limited to 'rlz/lib')
-rw-r--r--rlz/lib/rlz_lib.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/rlz/lib/rlz_lib.h b/rlz/lib/rlz_lib.h
index 1f8be5c..6e3f451 100644
--- a/rlz/lib/rlz_lib.h
+++ b/rlz/lib/rlz_lib.h
@@ -52,6 +52,22 @@ class URLRequestContextGetter;
namespace rlz_lib {
+// All functions return true on success and false on error.
+// This implemenation is thread safe.
+//
+// Each prototype mentions the registry access requirements:
+//
+// HKLM read: Will work from any process and at any privilege level on Vista.
+// HKCU read: Calls made from the SYSTEM account must pass the current user's
+// SID as the optional 'sid' param. Can be called from low integrity
+// process on Vista.
+// HKCU write: Calls made from the SYSTEM account must pass the current user's
+// SID as the optional 'sid' param. Calls require at least medium
+// integrity on Vista (e.g. Toolbar will need to use their broker)
+// HKLM write: Calls must be made from an account with admin rights. No SID
+// need be passed when running as SYSTEM.
+// Functions which do not access registry will be marked with "no restrictions".
+
class ScopedRlzValueStoreLock;
// The maximum length of an access points RLZ in bytes.