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

Side by Side Diff: win8/delegate_execute/command_execute_impl.h

Issue 921913002: Move GetProcessIntegrityLevel to file_info.h and remove the handle argument. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix cast Created 5 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 unified diff | Download patch
« no previous file with comments | « rlz/win/lib/registry_util.cc ('k') | win8/delegate_execute/command_execute_impl.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <atlbase.h> 5 #include <atlbase.h>
6 #include <atlcom.h> 6 #include <atlcom.h>
7 #include <atlctl.h> 7 #include <atlctl.h>
8 #include <ShObjIdl.h> 8 #include <ShObjIdl.h>
9 #include <WinInet.h> 9 #include <WinInet.h>
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/process/process_handle.h" 15 #include "base/process/process_info.h"
16 #include "win8/delegate_execute/resource.h" // main symbols 16 #include "win8/delegate_execute/resource.h" // main symbols
17 17
18 EXTERN_C const GUID CLSID_CommandExecuteImpl; 18 EXTERN_C const GUID CLSID_CommandExecuteImpl;
19 19
20 // CommandExecuteImpl 20 // CommandExecuteImpl
21 // This class implements the IExecuteCommand and related interfaces for 21 // This class implements the IExecuteCommand and related interfaces for
22 // handling ShellExecute launches of the Chrome browser, i.e. whether to 22 // handling ShellExecute launches of the Chrome browser, i.e. whether to
23 // launch Chrome in metro mode or desktop mode. 23 // launch Chrome in metro mode or desktop mode.
24 // The CLSID here is a dummy CLSID not used for anything, since we register 24 // The CLSID here is a dummy CLSID not used for anything, since we register
25 // the class with a dynamic CLSID. However, a static CLSID is necessary 25 // the class with a dynamic CLSID. However, a static CLSID is necessary
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 base::FilePath chrome_exe_; 97 base::FilePath chrome_exe_;
98 STARTUPINFO start_info_; 98 STARTUPINFO start_info_;
99 base::string16 verb_; 99 base::string16 verb_;
100 base::string16 display_name_; 100 base::string16 display_name_;
101 INTERNET_SCHEME launch_scheme_; 101 INTERNET_SCHEME launch_scheme_;
102 102
103 base::IntegrityLevel integrity_level_; 103 base::IntegrityLevel integrity_level_;
104 }; 104 };
105 105
106 OBJECT_ENTRY_AUTO(__uuidof(CommandExecuteImpl), CommandExecuteImpl) 106 OBJECT_ENTRY_AUTO(__uuidof(CommandExecuteImpl), CommandExecuteImpl)
OLDNEW
« no previous file with comments | « rlz/win/lib/registry_util.cc ('k') | win8/delegate_execute/command_execute_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698