1 // Copyright (c) 2010 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.
5 #ifndef CHROME_FRAME_CHROME_LAUNCHER_UTILS_H_
6 #define CHROME_FRAME_CHROME_LAUNCHER_UTILS_H_
13 namespace chrome_launcher
{
15 // The base name of the chrome_launcher.exe file.
16 extern const wchar_t kLauncherExeBaseName
[];
18 // Creates a command line suitable for launching Chrome. You can add any
19 // flags needed before launching.
21 // The command-line may use the Chrome executable directly, or use an in-between
22 // process if needed for security/elevation purposes. You must delete the
23 // returned command line.
24 CommandLine
* CreateLaunchCommandLine();
26 // Creates a command line suitable for launching the specified command through
29 // You must delete the returned command line.
30 CommandLine
* CreateUpdateCommandLine(const std::wstring
& update_command
);
32 // Returns the full path to the Chrome executable.
33 FilePath
GetChromeExecutablePath();
35 } // namespace chrome_launcher
37 #endif // CHROME_FRAME_CHROME_LAUNCHER_UTILS_H_