| OLD | NEW |
| 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 #include "content/worker/worker_thread.h" | 5 #include "content/worker/worker_thread.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/lazy_instance.h" | 8 #include "base/lazy_instance.h" |
| 9 #include "base/threading/thread_local.h" | 9 #include "base/threading/thread_local.h" |
| 10 #include "content/common/appcache/appcache_dispatcher.h" | 10 #include "content/common/appcache/appcache_dispatcher.h" |
| 11 #include "content/common/db_message_filter.h" | 11 #include "content/common/db_message_filter.h" |
| 12 #include "content/common/indexed_db/indexed_db_message_filter.h" | 12 #include "content/common/indexed_db/indexed_db_message_filter.h" |
| 13 #include "content/common/web_database_observer_impl.h" | 13 #include "content/common/web_database_observer_impl.h" |
| 14 #include "content/common/worker_messages.h" | 14 #include "content/common/worker_messages.h" |
| 15 #include "content/public/common/content_switches.h" | 15 #include "content/public/common/content_switches.h" |
| 16 #include "content/worker/websharedworker_stub.h" | 16 #include "content/worker/websharedworker_stub.h" |
| 17 #include "content/worker/worker_webkitplatformsupport_impl.h" | 17 #include "content/worker/worker_webkitplatformsupport_impl.h" |
| 18 #include "ipc/ipc_sync_channel.h" | 18 #include "ipc/ipc_sync_channel.h" |
| 19 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebBlobRegis
try.h" | 19 #include "third_party/WebKit/Source/Platform/chromium/public/WebBlobRegistry.h" |
| 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabase.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabase.h" |
| 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" |
| 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
| 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" |
| 24 #include "webkit/glue/webkit_glue.h" | 24 #include "webkit/glue/webkit_glue.h" |
| 25 | 25 |
| 26 using WebKit::WebRuntimeFeatures; | 26 using WebKit::WebRuntimeFeatures; |
| 27 | 27 |
| 28 namespace content { | 28 namespace content { |
| 29 | 29 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 | 125 |
| 126 void WorkerThread::RemoveWorkerStub(WebSharedWorkerStub* stub) { | 126 void WorkerThread::RemoveWorkerStub(WebSharedWorkerStub* stub) { |
| 127 worker_stubs_.erase(stub); | 127 worker_stubs_.erase(stub); |
| 128 } | 128 } |
| 129 | 129 |
| 130 void WorkerThread::AddWorkerStub(WebSharedWorkerStub* stub) { | 130 void WorkerThread::AddWorkerStub(WebSharedWorkerStub* stub) { |
| 131 worker_stubs_.insert(stub); | 131 worker_stubs_.insert(stub); |
| 132 } | 132 } |
| 133 | 133 |
| 134 } // namespace content | 134 } // namespace content |
| OLD | NEW |