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

Side by Side Diff: chrome_frame/chrome_launcher_utils.h

Issue 11149006: Extend scoped_ptr to be closer to unique_ptr. Support custom deleters, and deleting arrays. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 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_UTILS_H_ 5 #ifndef CHROME_FRAME_CHROME_LAUNCHER_UTILS_H_
6 #define CHROME_FRAME_CHROME_LAUNCHER_UTILS_H_ 6 #define CHROME_FRAME_CHROME_LAUNCHER_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 #include "base/memory/scoped_ptr.h"
9 10
10 class CommandLine; 11 class CommandLine;
11 class FilePath; 12 class FilePath;
12 template <class C> class scoped_ptr;
13 13
14 namespace chrome_launcher { 14 namespace chrome_launcher {
15 15
16 // The base name of the chrome_launcher.exe file. 16 // The base name of the chrome_launcher.exe file.
17 extern const wchar_t kLauncherExeBaseName[]; 17 extern const wchar_t kLauncherExeBaseName[];
18 18
19 // 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
20 // flags needed before launching. 20 // flags needed before launching.
21 // 21 //
22 // The command-line may use the Chrome executable directly, or use an in-between 22 // The command-line may use the Chrome executable directly, or use an in-between
(...skipping 10 matching lines...) Expand all
33 // with the update command line. 33 // with the update command line.
34 bool CreateUpdateCommandLine(const std::wstring& update_command, 34 bool CreateUpdateCommandLine(const std::wstring& update_command,
35 scoped_ptr<CommandLine>* command_line); 35 scoped_ptr<CommandLine>* command_line);
36 36
37 // Returns the full path to the Chrome executable. 37 // Returns the full path to the Chrome executable.
38 FilePath GetChromeExecutablePath(); 38 FilePath GetChromeExecutablePath();
39 39
40 } // namespace chrome_launcher 40 } // namespace chrome_launcher
41 41
42 #endif // CHROME_FRAME_CHROME_LAUNCHER_UTILS_H_ 42 #endif // CHROME_FRAME_CHROME_LAUNCHER_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync_file_system/sync_file_system_service.h ('k') | content/browser/speech/speech_recognition_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698