| 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" | |
| 13 #include "base/message_loop.h" | 12 #include "base/message_loop.h" |
| 14 #include "base/string_util.h" | 13 #include "base/string_util.h" |
| 15 #include "base/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
| 16 #include "chrome/browser/appcache/appcache_dispatcher_host.h" | 15 #include "chrome/browser/appcache/appcache_dispatcher_host.h" |
| 17 #include "chrome/browser/browser_thread.h" | 16 #include "chrome/browser/browser_thread.h" |
| 18 #include "chrome/browser/child_process_security_policy.h" | 17 #include "chrome/browser/child_process_security_policy.h" |
| 19 #include "chrome/browser/file_system/file_system_dispatcher_host.h" | 18 #include "chrome/browser/file_system/file_system_dispatcher_host.h" |
| 20 #include "chrome/browser/net/chrome_url_request_context.h" | 19 #include "chrome/browser/net/chrome_url_request_context.h" |
| 21 #include "chrome/browser/profile.h" | 20 #include "chrome/browser/profile.h" |
| 22 #include "chrome/browser/renderer_host/blob_dispatcher_host.h" | 21 #include "chrome/browser/renderer_host/blob_dispatcher_host.h" |
| (...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 } | 643 } |
| 645 } | 644 } |
| 646 return false; | 645 return false; |
| 647 } | 646 } |
| 648 | 647 |
| 649 WorkerProcessHost::WorkerInstance::SenderInfo | 648 WorkerProcessHost::WorkerInstance::SenderInfo |
| 650 WorkerProcessHost::WorkerInstance::GetSender() const { | 649 WorkerProcessHost::WorkerInstance::GetSender() const { |
| 651 DCHECK(NumSenders() == 1); | 650 DCHECK(NumSenders() == 1); |
| 652 return *senders_.begin(); | 651 return *senders_.begin(); |
| 653 } | 652 } |
| OLD | NEW |