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

Side by Side Diff: branches/1650/src/content/worker/worker_thread.h

Issue 103243002: Revert 238433 "Merge 233099 "Kill worker process by way of a syn..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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_WORKER_WORKER_THREAD_H_ 5 #ifndef CONTENT_WORKER_WORKER_THREAD_H_
6 #define CONTENT_WORKER_WORKER_THREAD_H_ 6 #define CONTENT_WORKER_WORKER_THREAD_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "content/child/child_thread.h" 10 #include "content/child/child_thread.h"
(...skipping 21 matching lines...) Expand all
32 void AddWorkerStub(WebSharedWorkerStub* stub); 32 void AddWorkerStub(WebSharedWorkerStub* stub);
33 void RemoveWorkerStub(WebSharedWorkerStub* stub); 33 void RemoveWorkerStub(WebSharedWorkerStub* stub);
34 34
35 AppCacheDispatcher* appcache_dispatcher() { 35 AppCacheDispatcher* appcache_dispatcher() {
36 return appcache_dispatcher_.get(); 36 return appcache_dispatcher_.get();
37 } 37 }
38 38
39 private: 39 private:
40 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE; 40 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE;
41 virtual void OnChannelError() OVERRIDE; 41 virtual void OnChannelError() OVERRIDE;
42 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
43 42
44 void OnCreateWorker(const WorkerProcessMsg_CreateWorker_Params& params); 43 void OnCreateWorker(const WorkerProcessMsg_CreateWorker_Params& params);
45 void OnShutdown();
46 44
47 scoped_ptr<WorkerWebKitPlatformSupportImpl> webkit_platform_support_; 45 scoped_ptr<WorkerWebKitPlatformSupportImpl> webkit_platform_support_;
48 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; 46 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_;
49 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; 47 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_;
50 scoped_refptr<DBMessageFilter> db_message_filter_; 48 scoped_refptr<DBMessageFilter> db_message_filter_;
51 scoped_refptr<IndexedDBMessageFilter> indexed_db_message_filter_; 49 scoped_refptr<IndexedDBMessageFilter> indexed_db_message_filter_;
52 50
53 typedef std::set<WebSharedWorkerStub*> WorkerStubsList; 51 typedef std::set<WebSharedWorkerStub*> WorkerStubsList;
54 WorkerStubsList worker_stubs_; 52 WorkerStubsList worker_stubs_;
55 53
56 DISALLOW_COPY_AND_ASSIGN(WorkerThread); 54 DISALLOW_COPY_AND_ASSIGN(WorkerThread);
57 }; 55 };
58 56
59 } // namespace content 57 } // namespace content
60 58
61 #endif // CONTENT_WORKER_WORKER_THREAD_H_ 59 #endif // CONTENT_WORKER_WORKER_THREAD_H_
OLDNEW
« no previous file with comments | « branches/1650/src/content/common/worker_messages.h ('k') | branches/1650/src/content/worker/worker_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698