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

Side by Side Diff: chrome_frame/chrome_launcher.h

Issue 274063: Chrome frame compile fix, take 2. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome_frame/chrome_tab.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #ifndef CHROME_FRAME_CHROME_LAUNCHER_H_ 5 #ifndef CHROME_FRAME_CHROME_LAUNCHER_H_
6 #define CHROME_FRAME_CHROME_LAUNCHER_H_ 6 #define CHROME_FRAME_CHROME_LAUNCHER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 class CommandLine; 10 class CommandLine;
(...skipping 17 matching lines...) Expand all
28 // Logs a warning for any flags that were passed that are not allowed to be 28 // Logs a warning for any flags that were passed that are not allowed to be
29 // invoked by Low Integrity. 29 // invoked by Low Integrity.
30 void SanitizeCommandLine(const CommandLine& original, CommandLine* sanitized); 30 void SanitizeCommandLine(const CommandLine& original, CommandLine* sanitized);
31 31
32 // Given a command-line without an initial program part, launch our associated 32 // Given a command-line without an initial program part, launch our associated
33 // chrome.exe with a sanitized version of that command line. Returns true iff 33 // chrome.exe with a sanitized version of that command line. Returns true iff
34 // successful. 34 // successful.
35 bool SanitizeAndLaunchChrome(const wchar_t* command_line); 35 bool SanitizeAndLaunchChrome(const wchar_t* command_line);
36 36
37 // Returns the full path to the Chrome executable. 37 // Returns the full path to the Chrome executable.
38 std::wstring GetChromeExecutablePath(); 38 FilePath GetChromeExecutablePath();
39 39
40 // The type of the CfLaunchChrome entrypoint exported from this DLL. 40 // The type of the CfLaunchChrome entrypoint exported from this DLL.
41 typedef int (__stdcall *CfLaunchChromeProc)(); 41 typedef int (__stdcall *CfLaunchChromeProc)();
42 42
43 } // namespace chrome_launcher 43 } // namespace chrome_launcher
44 44
45 #endif // CHROME_FRAME_CHROME_LAUNCHER_H_ 45 #endif // CHROME_FRAME_CHROME_LAUNCHER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome_frame/chrome_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698