diff options
author | rvargas <rvargas@chromium.org> | 2015-02-13 10:07:59 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-13 18:08:56 +0000 |
commit | 6c690f1c2e035deda117ac13e6d5a23f4be6e3c6 (patch) | |
tree | c952889b9cb7f754c39b8e3071aa046c5031c7c1 /win8 | |
parent | ddea13be3be19fd889fb5953470faf154836e973 (diff) | |
download | chromium_src-6c690f1c2e035deda117ac13e6d5a23f4be6e3c6.zip chromium_src-6c690f1c2e035deda117ac13e6d5a23f4be6e3c6.tar.gz chromium_src-6c690f1c2e035deda117ac13e6d5a23f4be6e3c6.tar.bz2 |
Move GetProcessIntegrityLevel to file_info.h and remove the handle argument.
BUG=417532
Review URL: https://codereview.chromium.org/921913002
Cr-Commit-Position: refs/heads/master@{#316242}
Diffstat (limited to 'win8')
-rw-r--r-- | win8/delegate_execute/command_execute_impl.cc | 4 | ||||
-rw-r--r-- | win8/delegate_execute/command_execute_impl.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/win8/delegate_execute/command_execute_impl.cc b/win8/delegate_execute/command_execute_impl.cc index d50037d..4b6636b 100644 --- a/win8/delegate_execute/command_execute_impl.cc +++ b/win8/delegate_execute/command_execute_impl.cc @@ -12,7 +12,6 @@ #include "base/files/file_util.h" #include "base/path_service.h" #include "base/process/launch.h" -#include "base/process/process_handle.h" #include "base/strings/utf_string_conversions.h" #include "base/win/message_window.h" #include "base/win/registry.h" @@ -287,8 +286,7 @@ STDMETHODIMP CommandExecuteImpl::Initialize(LPCWSTR name, verb_ = name; } - base::GetProcessIntegrityLevel(base::GetCurrentProcessHandle(), - &integrity_level_); + integrity_level_ = base::GetCurrentProcessIntegrityLevel(); return S_OK; } diff --git a/win8/delegate_execute/command_execute_impl.h b/win8/delegate_execute/command_execute_impl.h index f45bcc9..d2486d4 100644 --- a/win8/delegate_execute/command_execute_impl.h +++ b/win8/delegate_execute/command_execute_impl.h @@ -12,7 +12,7 @@ #include "base/command_line.h" #include "base/files/file_path.h" -#include "base/process/process_handle.h" +#include "base/process/process_info.h" #include "win8/delegate_execute/resource.h" // main symbols EXTERN_C const GUID CLSID_CommandExecuteImpl; |