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: chrome/browser/worker_host/worker_service.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
« no previous file with comments | « chrome/browser/worker_host/worker_process_host.cc ('k') | chrome/chrome.gyp » ('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_BROWSER_WORKER_HOST__WORKER_SERVICE_H_ 5 #ifndef CHROME_BROWSER_WORKER_HOST__WORKER_SERVICE_H_
6 #define CHROME_BROWSER_WORKER_HOST__WORKER_SERVICE_H_ 6 #define CHROME_BROWSER_WORKER_HOST__WORKER_SERVICE_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/singleton.h" 11 #include "base/singleton.h"
12 #include "chrome/browser/worker_host/worker_process_host.h" 12 #include "chrome/browser/worker_host/worker_process_host.h"
13 #include "chrome/common/ipc_message.h"
14 #include "chrome/common/notification_registrar.h" 13 #include "chrome/common/notification_registrar.h"
15 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
15 #include "ipc/ipc_message.h"
16 16
17 17
18 class MessageLoop; 18 class MessageLoop;
19 class WorkerProcessHost; 19 class WorkerProcessHost;
20 class ResourceDispatcherHost; 20 class ResourceDispatcherHost;
21 21
22 class WorkerService : public NotificationObserver { 22 class WorkerService : public NotificationObserver {
23 public: 23 public:
24 // Returns the WorkerService singleton. 24 // Returns the WorkerService singleton.
25 static WorkerService* GetInstance(); 25 static WorkerService* GetInstance();
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 int next_worker_route_id_; 90 int next_worker_route_id_;
91 ResourceDispatcherHost* resource_dispatcher_host_; 91 ResourceDispatcherHost* resource_dispatcher_host_;
92 MessageLoop* ui_loop_; 92 MessageLoop* ui_loop_;
93 93
94 WorkerProcessHost::Instances queued_workers_; 94 WorkerProcessHost::Instances queued_workers_;
95 95
96 DISALLOW_COPY_AND_ASSIGN(WorkerService); 96 DISALLOW_COPY_AND_ASSIGN(WorkerService);
97 }; 97 };
98 98
99 #endif // CHROME_BROWSER_WORKER_HOST__WORKER_SERVICE_H_ 99 #endif // CHROME_BROWSER_WORKER_HOST__WORKER_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/worker_host/worker_process_host.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698