| 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/browser/worker_host/worker_process_host.h" | 5 #include "content/browser/worker_host/worker_process_host.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/base_switches.h" | 11 #include "base/base_switches.h" |
| 12 #include "base/bind.h" | 12 #include "base/bind.h" |
| 13 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
| 14 #include "base/callback.h" | 14 #include "base/callback.h" |
| 15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
| 16 #include "base/message_loop.h" | 16 #include "base/message_loop.h" |
| 17 #include "base/string_util.h" | 17 #include "base/strings/string_util.h" |
| 18 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
| 19 #include "content/browser/appcache/appcache_dispatcher_host.h" | 19 #include "content/browser/appcache/appcache_dispatcher_host.h" |
| 20 #include "content/browser/appcache/chrome_appcache_service.h" | 20 #include "content/browser/appcache/chrome_appcache_service.h" |
| 21 #include "content/browser/browser_child_process_host_impl.h" | 21 #include "content/browser/browser_child_process_host_impl.h" |
| 22 #include "content/browser/child_process_security_policy_impl.h" | 22 #include "content/browser/child_process_security_policy_impl.h" |
| 23 #include "content/browser/devtools/worker_devtools_manager.h" | 23 #include "content/browser/devtools/worker_devtools_manager.h" |
| 24 #include "content/browser/devtools/worker_devtools_message_filter.h" | 24 #include "content/browser/devtools/worker_devtools_message_filter.h" |
| 25 #include "content/browser/fileapi/fileapi_message_filter.h" | 25 #include "content/browser/fileapi/fileapi_message_filter.h" |
| 26 #include "content/browser/in_process_webkit/indexed_db_dispatcher_host.h" | 26 #include "content/browser/in_process_webkit/indexed_db_dispatcher_host.h" |
| 27 #include "content/browser/mime_registry_message_filter.h" | 27 #include "content/browser/mime_registry_message_filter.h" |
| (...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 return false; | 698 return false; |
| 699 } | 699 } |
| 700 | 700 |
| 701 WorkerProcessHost::WorkerInstance::FilterInfo | 701 WorkerProcessHost::WorkerInstance::FilterInfo |
| 702 WorkerProcessHost::WorkerInstance::GetFilter() const { | 702 WorkerProcessHost::WorkerInstance::GetFilter() const { |
| 703 DCHECK(NumFilters() == 1); | 703 DCHECK(NumFilters() == 1); |
| 704 return *filters_.begin(); | 704 return *filters_.begin(); |
| 705 } | 705 } |
| 706 | 706 |
| 707 } // namespace content | 707 } // namespace content |
| OLD | NEW |