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

Side by Side Diff: content/worker/worker_thread.h

Issue 9375024: Get IPC working for Indexed DB in shared workers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to ToT Created 8 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
« no previous file with comments | « content/shell/shell_resource_context.cc ('k') | content/worker/worker_thread.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) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 10
11 #include "content/common/child_thread.h" 11 #include "content/common/child_thread.h"
12 12
13 class AppCacheDispatcher; 13 class AppCacheDispatcher;
14 class DBMessageFilter; 14 class DBMessageFilter;
15 class IndexedDBMessageFilter;
15 class WebDatabaseObserverImpl; 16 class WebDatabaseObserverImpl;
16 class WebSharedWorkerStub; 17 class WebSharedWorkerStub;
17 struct WorkerProcessMsg_CreateWorker_Params; 18 struct WorkerProcessMsg_CreateWorker_Params;
18 class WorkerWebKitPlatformSupportImpl; 19 class WorkerWebKitPlatformSupportImpl;
19 20
20 class WorkerThread : public ChildThread { 21 class WorkerThread : public ChildThread {
21 public: 22 public:
22 WorkerThread(); 23 WorkerThread();
23 virtual ~WorkerThread(); 24 virtual ~WorkerThread();
24 25
(...skipping 11 matching lines...) Expand all
36 private: 37 private:
37 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE; 38 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE;
38 virtual void OnChannelError() OVERRIDE; 39 virtual void OnChannelError() OVERRIDE;
39 40
40 void OnCreateWorker(const WorkerProcessMsg_CreateWorker_Params& params); 41 void OnCreateWorker(const WorkerProcessMsg_CreateWorker_Params& params);
41 42
42 scoped_ptr<WorkerWebKitPlatformSupportImpl> webkit_platform_support_; 43 scoped_ptr<WorkerWebKitPlatformSupportImpl> webkit_platform_support_;
43 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; 44 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_;
44 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; 45 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_;
45 scoped_refptr<DBMessageFilter> db_message_filter_; 46 scoped_refptr<DBMessageFilter> db_message_filter_;
47 scoped_refptr<IndexedDBMessageFilter> indexed_db_message_filter_;
46 48
47 typedef std::set<WebSharedWorkerStub*> WorkerStubsList; 49 typedef std::set<WebSharedWorkerStub*> WorkerStubsList;
48 WorkerStubsList worker_stubs_; 50 WorkerStubsList worker_stubs_;
49 51
50 DISALLOW_COPY_AND_ASSIGN(WorkerThread); 52 DISALLOW_COPY_AND_ASSIGN(WorkerThread);
51 }; 53 };
52 54
53 #endif // CONTENT_WORKER_WORKER_THREAD_H_ 55 #endif // CONTENT_WORKER_WORKER_THREAD_H_
OLDNEW
« no previous file with comments | « content/shell/shell_resource_context.cc ('k') | content/worker/worker_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698