OLD | NEW |
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 #include "base/file_path.h" |
| 11 |
10 class CommandLine; | 12 class CommandLine; |
11 | 13 |
12 namespace chrome_launcher { | 14 namespace chrome_launcher { |
13 | 15 |
14 // The base name of the chrome_launcher.exe file. | 16 // The base name of the chrome_launcher.exe file. |
15 extern const wchar_t kLauncherExeBaseName[]; | 17 extern const wchar_t kLauncherExeBaseName[]; |
16 | 18 |
17 // Creates a command line suitable for launching Chrome. You can add any | 19 // Creates a command line suitable for launching Chrome. You can add any |
18 // flags needed before launching. | 20 // flags needed before launching. |
19 // | 21 // |
(...skipping 16 matching lines...) Expand all Loading... |
36 | 38 |
37 // Returns the full path to the Chrome executable. | 39 // Returns the full path to the Chrome executable. |
38 FilePath GetChromeExecutablePath(); | 40 FilePath GetChromeExecutablePath(); |
39 | 41 |
40 // The type of the CfLaunchChrome entrypoint exported from this DLL. | 42 // The type of the CfLaunchChrome entrypoint exported from this DLL. |
41 typedef int (__stdcall *CfLaunchChromeProc)(); | 43 typedef int (__stdcall *CfLaunchChromeProc)(); |
42 | 44 |
43 } // namespace chrome_launcher | 45 } // namespace chrome_launcher |
44 | 46 |
45 #endif // CHROME_FRAME_CHROME_LAUNCHER_H_ | 47 #endif // CHROME_FRAME_CHROME_LAUNCHER_H_ |
OLD | NEW |