| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "chrome/browser/worker_host/worker_process_host.h" | 5 #include "chrome/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/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 12 #include "base/debug_util.h" | 12 #include "base/debug_util.h" |
| 13 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
| 14 #include "base/string_util.h" | 14 #include "base/string_util.h" |
| 15 #include "base/utf_string_conversions.h" |
| 15 #include "chrome/browser/appcache/appcache_dispatcher_host.h" | 16 #include "chrome/browser/appcache/appcache_dispatcher_host.h" |
| 16 #include "chrome/browser/chrome_thread.h" | 17 #include "chrome/browser/chrome_thread.h" |
| 17 #include "chrome/browser/child_process_security_policy.h" | 18 #include "chrome/browser/child_process_security_policy.h" |
| 18 #include "chrome/browser/net/chrome_url_request_context.h" | 19 #include "chrome/browser/net/chrome_url_request_context.h" |
| 19 #include "chrome/browser/profile.h" | 20 #include "chrome/browser/profile.h" |
| 20 #include "chrome/browser/renderer_host/database_dispatcher_host.h" | 21 #include "chrome/browser/renderer_host/database_dispatcher_host.h" |
| 21 #include "chrome/browser/renderer_host/render_view_host.h" | 22 #include "chrome/browser/renderer_host/render_view_host.h" |
| 22 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 23 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
| 23 #include "chrome/browser/renderer_host/resource_message_filter.h" | 24 #include "chrome/browser/renderer_host/resource_message_filter.h" |
| 24 #include "chrome/browser/worker_host/message_port_dispatcher.h" | 25 #include "chrome/browser/worker_host/message_port_dispatcher.h" |
| (...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 626 } | 627 } |
| 627 } | 628 } |
| 628 return false; | 629 return false; |
| 629 } | 630 } |
| 630 | 631 |
| 631 WorkerProcessHost::WorkerInstance::SenderInfo | 632 WorkerProcessHost::WorkerInstance::SenderInfo |
| 632 WorkerProcessHost::WorkerInstance::GetSender() const { | 633 WorkerProcessHost::WorkerInstance::GetSender() const { |
| 633 DCHECK(NumSenders() == 1); | 634 DCHECK(NumSenders() == 1); |
| 634 return *senders_.begin(); | 635 return *senders_.begin(); |
| 635 } | 636 } |
| OLD | NEW |