| 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/callback.h" | 11 #include "base/callback.h" |
| 11 #include "base/command_line.h" | 12 #include "base/command_line.h" |
| 12 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
| 13 #include "base/string_util.h" | 14 #include "base/string_util.h" |
| 14 #include "base/utf_string_conversions.h" | 15 #include "base/utf_string_conversions.h" |
| 15 #include "content/browser/appcache/appcache_dispatcher_host.h" | 16 #include "content/browser/appcache/appcache_dispatcher_host.h" |
| 16 #include "content/browser/browser_thread.h" | 17 #include "content/browser/browser_thread.h" |
| 17 #include "content/browser/child_process_security_policy.h" | 18 #include "content/browser/child_process_security_policy.h" |
| 18 #include "content/browser/content_browser_client.h" | 19 #include "content/browser/content_browser_client.h" |
| 19 #include "content/browser/debugger/worker_devtools_message_filter.h" | 20 #include "content/browser/debugger/worker_devtools_message_filter.h" |
| (...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 631 } | 632 } |
| 632 } | 633 } |
| 633 return false; | 634 return false; |
| 634 } | 635 } |
| 635 | 636 |
| 636 WorkerProcessHost::WorkerInstance::FilterInfo | 637 WorkerProcessHost::WorkerInstance::FilterInfo |
| 637 WorkerProcessHost::WorkerInstance::GetFilter() const { | 638 WorkerProcessHost::WorkerInstance::GetFilter() const { |
| 638 DCHECK(NumFilters() == 1); | 639 DCHECK(NumFilters() == 1); |
| 639 return *filters_.begin(); | 640 return *filters_.begin(); |
| 640 } | 641 } |
| OLD | NEW |