OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/base_switches.h" | 10 #include "base/base_switches.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "content/browser/renderer_host/file_utilities_message_filter.h" | 26 #include "content/browser/renderer_host/file_utilities_message_filter.h" |
27 #include "content/browser/renderer_host/render_view_host.h" | 27 #include "content/browser/renderer_host/render_view_host.h" |
28 #include "content/browser/renderer_host/render_view_host_delegate.h" | 28 #include "content/browser/renderer_host/render_view_host_delegate.h" |
29 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h" | 29 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h" |
30 #include "content/browser/resource_context.h" | 30 #include "content/browser/resource_context.h" |
31 #include "content/browser/user_metrics.h" | 31 #include "content/browser/user_metrics.h" |
32 #include "content/browser/worker_host/message_port_service.h" | 32 #include "content/browser/worker_host/message_port_service.h" |
33 #include "content/browser/worker_host/worker_message_filter.h" | 33 #include "content/browser/worker_host/worker_message_filter.h" |
34 #include "content/browser/worker_host/worker_service.h" | 34 #include "content/browser/worker_host/worker_service.h" |
35 #include "content/common/debug_flags.h" | 35 #include "content/common/debug_flags.h" |
36 #include "content/common/result_codes.h" | |
37 #include "content/common/view_messages.h" | 36 #include "content/common/view_messages.h" |
38 #include "content/common/worker_messages.h" | 37 #include "content/common/worker_messages.h" |
39 #include "content/public/browser/content_browser_client.h" | 38 #include "content/public/browser/content_browser_client.h" |
40 #include "content/public/common/content_switches.h" | 39 #include "content/public/common/content_switches.h" |
| 40 #include "content/public/common/result_codes.h" |
41 #include "net/base/mime_util.h" | 41 #include "net/base/mime_util.h" |
42 #include "ipc/ipc_switches.h" | 42 #include "ipc/ipc_switches.h" |
43 #include "net/base/registry_controlled_domain.h" | 43 #include "net/base/registry_controlled_domain.h" |
44 #include "ui/base/ui_base_switches.h" | 44 #include "ui/base/ui_base_switches.h" |
45 #include "webkit/fileapi/file_system_context.h" | 45 #include "webkit/fileapi/file_system_context.h" |
46 #include "webkit/fileapi/file_system_path_manager.h" | 46 #include "webkit/fileapi/file_system_path_manager.h" |
47 #include "webkit/fileapi/sandbox_mount_point_provider.h" | 47 #include "webkit/fileapi/sandbox_mount_point_provider.h" |
48 #include "webkit/glue/resource_type.h" | 48 #include "webkit/glue/resource_type.h" |
49 | 49 |
50 namespace { | 50 namespace { |
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 } | 652 } |
653 } | 653 } |
654 return false; | 654 return false; |
655 } | 655 } |
656 | 656 |
657 WorkerProcessHost::WorkerInstance::FilterInfo | 657 WorkerProcessHost::WorkerInstance::FilterInfo |
658 WorkerProcessHost::WorkerInstance::GetFilter() const { | 658 WorkerProcessHost::WorkerInstance::GetFilter() const { |
659 DCHECK(NumFilters() == 1); | 659 DCHECK(NumFilters() == 1); |
660 return *filters_.begin(); | 660 return *filters_.begin(); |
661 } | 661 } |
OLD | NEW |