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

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

Issue 20413: old1 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_WORKER_PROCESS_HOST_H_
6 #define CHROME_BROWSER_WORKER_PROCESS_HOST_H_
7
8 #include <set>
9
10 #include "base/basictypes.h"
11 #include "base/scoped_ptr.h"
12 #include "chrome/common/child_process_host.h"
13 #include "chrome/common/ipc_channel.h"
14 #include "googleurl/src/gurl.h"
15
16 class WorkerProcessHost : public ChildProcessHost {
17 public:
18 WorkerProcessHost(MessageLoop* main_message_loop);
19 ~WorkerProcessHost();
20
21 bool Init();
22
23 void CreateWorker(const GURL& url, int route_id);
24
25 bool HasRouteId(int id);
26
27 // IPC::Channel::Listener implementation:
28 virtual void OnMessageReceived(const IPC::Message& msg);
29
30 private:
31 std::set<int> route_ids_;
32
33 DISALLOW_EVIL_CONSTRUCTORS(WorkerProcessHost);
34 };
35
36 #endif // CHROME_BROWSER_WORKER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/resource_message_filter.cc ('k') | chrome/browser/worker_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698