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

Side by Side Diff: content/browser/child_process_launcher.h

Issue 12213066: Use base namespace for FilePath in content/browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_H_ 5 #ifndef CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_H_
6 #define CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_H_ 6 #define CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/process_util.h" 10 #include "base/process_util.h"
(...skipping 18 matching lines...) Expand all
29 virtual ~Client() {} 29 virtual ~Client() {}
30 }; 30 };
31 31
32 // Launches the process asynchronously, calling the client when the result is 32 // Launches the process asynchronously, calling the client when the result is
33 // ready. Deleting this object before the process is created is safe, since 33 // ready. Deleting this object before the process is created is safe, since
34 // the callback won't be called. If the process is still running by the time 34 // the callback won't be called. If the process is still running by the time
35 // this object destructs, it will be terminated. 35 // this object destructs, it will be terminated.
36 // Takes ownership of cmd_line. 36 // Takes ownership of cmd_line.
37 ChildProcessLauncher( 37 ChildProcessLauncher(
38 #if defined(OS_WIN) 38 #if defined(OS_WIN)
39 const FilePath& exposed_dir, 39 const base::FilePath& exposed_dir,
40 #elif defined(OS_POSIX) 40 #elif defined(OS_POSIX)
41 bool use_zygote, 41 bool use_zygote,
42 const base::EnvironmentVector& environ, 42 const base::EnvironmentVector& environ,
43 int ipcfd, 43 int ipcfd,
44 #endif 44 #endif
45 CommandLine* cmd_line, 45 CommandLine* cmd_line,
46 int child_process_id, 46 int child_process_id,
47 Client* client); 47 Client* client);
48 ~ChildProcessLauncher(); 48 ~ChildProcessLauncher();
49 49
(...skipping 24 matching lines...) Expand all
74 class Context; 74 class Context;
75 75
76 scoped_refptr<Context> context_; 76 scoped_refptr<Context> context_;
77 77
78 DISALLOW_COPY_AND_ASSIGN(ChildProcessLauncher); 78 DISALLOW_COPY_AND_ASSIGN(ChildProcessLauncher);
79 }; 79 };
80 80
81 } // namespace content 81 } // namespace content
82 82
83 #endif // CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_H_ 83 #endif // CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_H_
OLDNEW
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_host_browsertest.cc ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698