| 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 27 matching lines...) Expand all Loading... |
| 38 #include "content/common/debug_flags.h" | 38 #include "content/common/debug_flags.h" |
| 39 #include "content/common/view_messages.h" | 39 #include "content/common/view_messages.h" |
| 40 #include "content/common/worker_messages.h" | 40 #include "content/common/worker_messages.h" |
| 41 #include "content/public/browser/browser_thread.h" | 41 #include "content/public/browser/browser_thread.h" |
| 42 #include "content/public/browser/content_browser_client.h" | 42 #include "content/public/browser/content_browser_client.h" |
| 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_domain.h" | 48 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
| 49 #include "ui/base/ui_base_switches.h" | 49 #include "ui/base/ui_base_switches.h" |
| 50 #include "webkit/fileapi/file_system_context.h" | 50 #include "webkit/fileapi/file_system_context.h" |
| 51 #include "webkit/fileapi/sandbox_mount_point_provider.h" | 51 #include "webkit/fileapi/sandbox_mount_point_provider.h" |
| 52 #include "webkit/glue/resource_type.h" | 52 #include "webkit/glue/resource_type.h" |
| 53 | 53 |
| 54 using content::BrowserThread; | 54 using content::BrowserThread; |
| 55 using content::ChildProcessData; | 55 using content::ChildProcessData; |
| 56 using content::ChildProcessHost; | 56 using content::ChildProcessHost; |
| 57 using content::RenderViewHostImpl; | 57 using content::RenderViewHostImpl; |
| 58 using content::ResourceContext; | 58 using content::ResourceContext; |
| (...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 } | 690 } |
| 691 } | 691 } |
| 692 return false; | 692 return false; |
| 693 } | 693 } |
| 694 | 694 |
| 695 WorkerProcessHost::WorkerInstance::FilterInfo | 695 WorkerProcessHost::WorkerInstance::FilterInfo |
| 696 WorkerProcessHost::WorkerInstance::GetFilter() const { | 696 WorkerProcessHost::WorkerInstance::GetFilter() const { |
| 697 DCHECK(NumFilters() == 1); | 697 DCHECK(NumFilters() == 1); |
| 698 return *filters_.begin(); | 698 return *filters_.begin(); |
| 699 } | 699 } |
| OLD | NEW |