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

Side by Side Diff: chrome_frame/chrome_launcher_utils.h

Issue 126143005: Remove Chrome Frame code and resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r244038 Created 6 years, 11 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 | « chrome_frame/chrome_launcher_unittest.cc ('k') | chrome_frame/chrome_launcher_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef CHROME_FRAME_CHROME_LAUNCHER_UTILS_H_
6 #define CHROME_FRAME_CHROME_LAUNCHER_UTILS_H_
7
8 #include <string>
9 #include "base/memory/scoped_ptr.h"
10
11 class CommandLine;
12
13 namespace base {
14 class FilePath;
15 }
16
17 namespace chrome_launcher {
18
19 // The base name of the chrome_launcher.exe file.
20 extern const wchar_t kLauncherExeBaseName[];
21
22 // Creates a command line suitable for launching Chrome. You can add any
23 // flags needed before launching.
24 //
25 // The command-line may use the Chrome executable directly, or use an in-between
26 // process if needed for security/elevation purposes.
27 //
28 // On success, returns true and populates command_line, which must be non-NULL,
29 // with the launch command line.
30 bool CreateLaunchCommandLine(scoped_ptr<CommandLine>* command_line);
31
32 // Creates a command line suitable for launching the specified command through
33 // Google Update.
34 //
35 // On success, returns true and populates command_line, which must be non-NULL,
36 // with the update command line.
37 bool CreateUpdateCommandLine(const std::wstring& update_command,
38 scoped_ptr<CommandLine>* command_line);
39
40 // Returns the full path to the Chrome executable.
41 base::FilePath GetChromeExecutablePath();
42
43 } // namespace chrome_launcher
44
45 #endif // CHROME_FRAME_CHROME_LAUNCHER_UTILS_H_
OLDNEW
« no previous file with comments | « chrome_frame/chrome_launcher_unittest.cc ('k') | chrome_frame/chrome_launcher_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698