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

Side by Side Diff: remoting/host/win/com_security.cc

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
« no previous file with comments | « remoting/host/win/chromoting_module.h ('k') | remoting/host/win/host_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/host/win/com_security.h" 5 #include "remoting/host/win/com_security.h"
6 6
7 #include <objidl.h> 7 #include <objidl.h>
8 8
9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
11 #include "base/logging.h" 10 #include "base/logging.h"
12 #include "base/win/windows_version.h" 11 #include "base/win/windows_version.h"
13 #include "remoting/host/win/security_descriptor.h" 12 #include "remoting/host/win/security_descriptor.h"
14 13
15 namespace remoting { 14 namespace remoting {
16 15
17 bool InitializeComSecurity(const std::string& security_descriptor, 16 bool InitializeComSecurity(const std::string& security_descriptor,
18 const std::string& mandatory_label, 17 const std::string& mandatory_label,
19 bool activate_as_activator) { 18 bool activate_as_activator) {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 if (FAILED(result)) { 57 if (FAILED(result)) {
59 LOG(ERROR) << "CoInitializeSecurity() failed, result=0x" 58 LOG(ERROR) << "CoInitializeSecurity() failed, result=0x"
60 << std::hex << result << std::dec << "."; 59 << std::hex << result << std::dec << ".";
61 return false; 60 return false;
62 } 61 }
63 62
64 return true; 63 return true;
65 } 64 }
66 65
67 } // namespace remoting 66 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/win/chromoting_module.h ('k') | remoting/host/win/host_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698