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

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

Issue 11231016: Move content's a plugin, ppapi_plugin, utility, and worker subdirectories to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac 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/worker/worker_main.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) 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 AppCacheDispatcher; 12 class AppCacheDispatcher;
13 class DBMessageFilter; 13 class DBMessageFilter;
14 class IndexedDBMessageFilter; 14 class IndexedDBMessageFilter;
15 class WebDatabaseObserverImpl; 15 class WebDatabaseObserverImpl;
16 struct WorkerProcessMsg_CreateWorker_Params;
17
18 namespace content {
16 class WebSharedWorkerStub; 19 class WebSharedWorkerStub;
17 struct WorkerProcessMsg_CreateWorker_Params;
18 class WorkerWebKitPlatformSupportImpl; 20 class WorkerWebKitPlatformSupportImpl;
19 21
20 class WorkerThread : public ChildThread { 22 class WorkerThread : public ChildThread {
21 public: 23 public:
22 WorkerThread(); 24 WorkerThread();
23 virtual ~WorkerThread(); 25 virtual ~WorkerThread();
24 26
25 // Returns the one worker thread. 27 // Returns the one worker thread.
26 static WorkerThread* current(); 28 static WorkerThread* current();
27 29
(...skipping 16 matching lines...) Expand all
44 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; 46 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_;
45 scoped_refptr<DBMessageFilter> db_message_filter_; 47 scoped_refptr<DBMessageFilter> db_message_filter_;
46 scoped_refptr<IndexedDBMessageFilter> indexed_db_message_filter_; 48 scoped_refptr<IndexedDBMessageFilter> indexed_db_message_filter_;
47 49
48 typedef std::set<WebSharedWorkerStub*> WorkerStubsList; 50 typedef std::set<WebSharedWorkerStub*> WorkerStubsList;
49 WorkerStubsList worker_stubs_; 51 WorkerStubsList worker_stubs_;
50 52
51 DISALLOW_COPY_AND_ASSIGN(WorkerThread); 53 DISALLOW_COPY_AND_ASSIGN(WorkerThread);
52 }; 54 };
53 55
56 } // namespace content
57
54 #endif // CONTENT_WORKER_WORKER_THREAD_H_ 58 #endif // CONTENT_WORKER_WORKER_THREAD_H_
OLDNEW
« no previous file with comments | « content/worker/worker_main.cc ('k') | content/worker/worker_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698