OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_FRAME_CHROME_LAUNCHER_H_ |
| 6 #define CHROME_FRAME_CHROME_LAUNCHER_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "base/file_path.h" |
| 11 |
| 12 class CommandLine; |
| 13 |
| 14 namespace chrome_launcher { |
| 15 |
| 16 // The base name of the chrome_launcher.exe file. |
| 17 extern const wchar_t kLauncherExeBaseName[]; |
| 18 |
| 19 // Creates a command line suitable for launching Chrome. You can add any |
| 20 // flags needed before launching. |
| 21 // |
| 22 // The command-line may use the Chrome executable directly, or use an in-between |
| 23 // process if needed for security/elevation purposes. You must delete the |
| 24 // returned command line. |
| 25 CommandLine* CreateLaunchCommandLine(); |
| 26 |
| 27 // Returns the full path to the Chrome executable. |
| 28 FilePath GetChromeExecutablePath(); |
| 29 |
| 30 } // namespace chrome_launcher |
| 31 |
| 32 #endif // CHROME_FRAME_CHROME_LAUNCHER_H_ |
OLD | NEW |