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

Unified Diff: remoting/host/win/com_security.cc

Issue 2037163002: Removing WinXP and Vista specific code from Chromoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sas_be_gone
Patch Set: Addressing feedback Created 4 years, 6 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 | « remoting/host/win/com_security.h ('k') | remoting/host/win/launch_process_with_token.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/com_security.cc
diff --git a/remoting/host/win/com_security.cc b/remoting/host/win/com_security.cc
index 22d81471e8f67226ba0a8836baaf9cdb6f2c4169..84a4f679868b86bce7b2b76674b04d0a0dc81790 100644
--- a/remoting/host/win/com_security.cc
+++ b/remoting/host/win/com_security.cc
@@ -8,7 +8,6 @@
#include "base/compiler_specific.h"
#include "base/logging.h"
-#include "base/win/windows_version.h"
#include "remoting/host/win/security_descriptor.h"
namespace remoting {
@@ -16,10 +15,7 @@ namespace remoting {
bool InitializeComSecurity(const std::string& security_descriptor,
const std::string& mandatory_label,
bool activate_as_activator) {
- std::string sddl = security_descriptor;
- if (base::win::GetVersion() >= base::win::VERSION_VISTA) {
- sddl += mandatory_label;
- }
+ std::string sddl = security_descriptor + mandatory_label;
// Convert the SDDL description into a security descriptor in absolute format.
ScopedSd relative_sd = ConvertSddlToSd(sddl);
« no previous file with comments | « remoting/host/win/com_security.h ('k') | remoting/host/win/launch_process_with_token.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698