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 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "content/public/browser/user_metrics.h" | 43 #include "content/public/browser/user_metrics.h" |
44 #include "content/public/common/content_switches.h" | 44 #include "content/public/common/content_switches.h" |
45 #include "content/public/common/result_codes.h" | 45 #include "content/public/common/result_codes.h" |
46 #include "ipc/ipc_switches.h" | 46 #include "ipc/ipc_switches.h" |
47 #include "net/base/mime_util.h" | 47 #include "net/base/mime_util.h" |
48 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" | 48 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
49 #include "net/url_request/url_request_context_getter.h" | 49 #include "net/url_request/url_request_context_getter.h" |
50 #include "ui/base/ui_base_switches.h" | 50 #include "ui/base/ui_base_switches.h" |
51 #include "webkit/browser/fileapi/file_system_context.h" | 51 #include "webkit/browser/fileapi/file_system_context.h" |
52 #include "webkit/browser/fileapi/sandbox_file_system_backend.h" | 52 #include "webkit/browser/fileapi/sandbox_file_system_backend.h" |
53 #include "webkit/glue/resource_type.h" | 53 #include "webkit/common/resource_type.h" |
54 | 54 |
55 #if defined(OS_WIN) | 55 #if defined(OS_WIN) |
56 #include "content/common/sandbox_win.h" | 56 #include "content/common/sandbox_win.h" |
57 #include "content/public/common/sandboxed_process_launcher_delegate.h" | 57 #include "content/public/common/sandboxed_process_launcher_delegate.h" |
58 #endif | 58 #endif |
59 | 59 |
60 namespace content { | 60 namespace content { |
61 namespace { | 61 namespace { |
62 | 62 |
63 #if defined(OS_WIN) | 63 #if defined(OS_WIN) |
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 return false; | 715 return false; |
716 } | 716 } |
717 | 717 |
718 WorkerProcessHost::WorkerInstance::FilterInfo | 718 WorkerProcessHost::WorkerInstance::FilterInfo |
719 WorkerProcessHost::WorkerInstance::GetFilter() const { | 719 WorkerProcessHost::WorkerInstance::GetFilter() const { |
720 DCHECK(NumFilters() == 1); | 720 DCHECK(NumFilters() == 1); |
721 return *filters_.begin(); | 721 return *filters_.begin(); |
722 } | 722 } |
723 | 723 |
724 } // namespace content | 724 } // namespace content |
OLD | NEW |