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

Unified Diff: remoting/host/win/security_descriptor.h

Issue 12378078: Initialize COM and configure security settings in the daemon. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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: remoting/host/win/security_descriptor.h
diff --git a/remoting/host/win/security_descriptor.h b/remoting/host/win/security_descriptor.h
index 98713f8f26c67877ed5bb3a273c32a8c52906ee0..d66374a65e1585807a1f89abd729ac7af5a3ef62 100644
--- a/remoting/host/win/security_descriptor.h
+++ b/remoting/host/win/security_descriptor.h
@@ -13,6 +13,7 @@
namespace remoting {
+typedef TypedBuffer<ACL> ScopedAcl;
typedef TypedBuffer<SECURITY_DESCRIPTOR> ScopedSd;
typedef TypedBuffer<SID> ScopedSid;
@@ -26,6 +27,15 @@ std::string ConvertSidToString(SID* sid);
// a logon SID or in case of an error.
ScopedSid GetLogonSid(HANDLE token);
+// Converts a security descriptor in self-relative format to a security
+// descriptor in absolute format.
+bool MakeAbsoluteSd(const ScopedSd& relative_sd,
jschuh 2013/03/04 21:12:33 This choice of naming is a bit evil, because it to
alexeypa (please no reviews) 2013/03/04 21:46:30 Done.
+ ScopedSd* absolute_sd,
+ ScopedAcl* dacl,
+ ScopedSid* group,
+ ScopedSid* owner,
+ ScopedAcl* sacl);
+
} // namespace remoting
#endif // REMOTING_HOST_WIN_SECURITY_DESCRIPTOR_H_

Powered by Google App Engine
This is Rietveld 408576698