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

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

Issue 11231077: Move a bunch more code into the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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/renderer/render_thread_impl.h ('k') | no next file » | 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) 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/common/child_thread.h" 10 #include "content/common/child_thread.h"
11 11
12 class WebDatabaseObserverImpl;
13 struct WorkerProcessMsg_CreateWorker_Params; 12 struct WorkerProcessMsg_CreateWorker_Params;
14 13
15 namespace content { 14 namespace content {
16 class AppCacheDispatcher; 15 class AppCacheDispatcher;
17 class DBMessageFilter; 16 class DBMessageFilter;
18 class IndexedDBMessageFilter; 17 class IndexedDBMessageFilter;
18 class WebDatabaseObserverImpl;
19 class WebSharedWorkerStub; 19 class WebSharedWorkerStub;
20 class WorkerWebKitPlatformSupportImpl; 20 class WorkerWebKitPlatformSupportImpl;
21 21
22 class WorkerThread : public ChildThread { 22 class WorkerThread : public ChildThread {
23 public: 23 public:
24 WorkerThread(); 24 WorkerThread();
25 virtual ~WorkerThread(); 25 virtual ~WorkerThread();
26 26
27 // Returns the one worker thread. 27 // Returns the one worker thread.
28 static WorkerThread* current(); 28 static WorkerThread* current();
(...skipping 20 matching lines...) Expand all
49 49
50 typedef std::set<WebSharedWorkerStub*> WorkerStubsList; 50 typedef std::set<WebSharedWorkerStub*> WorkerStubsList;
51 WorkerStubsList worker_stubs_; 51 WorkerStubsList worker_stubs_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(WorkerThread); 53 DISALLOW_COPY_AND_ASSIGN(WorkerThread);
54 }; 54 };
55 55
56 } // namespace content 56 } // namespace content
57 57
58 #endif // CONTENT_WORKER_WORKER_THREAD_H_ 58 #endif // CONTENT_WORKER_WORKER_THREAD_H_
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698