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

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

Issue 397031: Launch processes asynchronously so as not to block the UI thread. For now, re... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: return 0 instead of -1 if zygote couldn't launch renderer Created 11 years, 1 month 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 | « base/process_util_posix.cc ('k') | chrome/browser/child_process_launcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 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 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_COMMON_CHILD_PROCESS_LAUNCHER_H_ 5 #ifndef CHROME_BROWSER_CHILD_PROCESS_LAUNCHER_H_
6 #define CHROME_COMMON_CHILD_PROCESS_LAUNCHER_H_ 6 #define CHROME_BROWSER_CHILD_PROCESS_LAUNCHER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/process.h" 9 #include "base/process.h"
10 #include "base/ref_counted.h" 10 #include "base/ref_counted.h"
11 11
12 class CommandLine; 12 class CommandLine;
13 13
14 namespace IPC { 14 namespace IPC {
15 class SyncChannel; 15 class SyncChannel;
16 } 16 }
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 void SetProcessBackgrounded(bool background); 51 void SetProcessBackgrounded(bool background);
52 52
53 private: 53 private:
54 class Context; 54 class Context;
55 55
56 scoped_refptr<Context> context_; 56 scoped_refptr<Context> context_;
57 57
58 DISALLOW_COPY_AND_ASSIGN(ChildProcessLauncher); 58 DISALLOW_COPY_AND_ASSIGN(ChildProcessLauncher);
59 }; 59 };
60 60
61 #endif // CHROME_COMMON_CHILD_PROCESS_LAUNCHER_H_ 61 #endif // CHROME_BROWSER_CHILD_PROCESS_LAUNCHER_H_
OLDNEW
« no previous file with comments | « base/process_util_posix.cc ('k') | chrome/browser/child_process_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698