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

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

Issue 155905: Separates ipc code from common (http://crbug.com/16829) (Closed)
Patch Set: Fixes reference to 'common_message_traits' it's actually 'common_param_traits' Created 11 years, 5 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
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_BROWSER_UTILITY_PROCESS_HOST_H_ 5 #ifndef CHROME_BROWSER_UTILITY_PROCESS_HOST_H_
6 #define CHROME_BROWSER_UTILITY_PROCESS_HOST_H_ 6 #define CHROME_BROWSER_UTILITY_PROCESS_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/ref_counted.h" 11 #include "base/ref_counted.h"
12 #include "base/task.h" 12 #include "base/task.h"
13 #include "chrome/common/child_process_host.h" 13 #include "chrome/common/child_process_host.h"
14 #include "chrome/common/ipc_channel.h" 14 #include "ipc/ipc_channel.h"
15 15
16 class CommandLine; 16 class CommandLine;
17 class DictionaryValue; 17 class DictionaryValue;
18 class ListValue; 18 class ListValue;
19 class MessageLoop; 19 class MessageLoop;
20 20
21 // This class acts as the browser-side host to a utility child process. A 21 // This class acts as the browser-side host to a utility child process. A
22 // utility process is a short-lived sandboxed process that is created to run 22 // utility process is a short-lived sandboxed process that is created to run
23 // a specific task. This class lives solely on the IO thread. 23 // a specific task. This class lives solely on the IO thread.
24 class UtilityProcessHost : public ChildProcessHost { 24 class UtilityProcessHost : public ChildProcessHost {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 } 103 }
104 104
105 // A pointer to our client interface, who will be informed of progress. 105 // A pointer to our client interface, who will be informed of progress.
106 scoped_refptr<Client> client_; 106 scoped_refptr<Client> client_;
107 MessageLoop* client_loop_; 107 MessageLoop* client_loop_;
108 108
109 DISALLOW_COPY_AND_ASSIGN(UtilityProcessHost); 109 DISALLOW_COPY_AND_ASSIGN(UtilityProcessHost);
110 }; 110 };
111 111
112 #endif // CHROME_BROWSER_UTILITY_PROCESS_HOST_H_ 112 #endif // CHROME_BROWSER_UTILITY_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/web_contents_unittest.cc ('k') | chrome/browser/utility_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698