OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/renderer_host/websocket_host.h" | 5 #include "content/browser/renderer_host/websocket_host.h" |
6 | 6 |
7 #include <inttypes.h> | 7 #include <inttypes.h> |
8 | 8 |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/bind_helpers.h" | 12 #include "base/bind_helpers.h" |
13 #include "base/location.h" | 13 #include "base/location.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ptr_util.h" | 16 #include "base/memory/ptr_util.h" |
17 #include "base/single_thread_task_runner.h" | 17 #include "base/single_thread_task_runner.h" |
18 #include "base/strings/string_util.h" | 18 #include "base/strings/string_util.h" |
19 #include "base/strings/stringprintf.h" | 19 #include "base/strings/stringprintf.h" |
20 #include "base/thread_task_runner_handle.h" | 20 #include "base/threading/thread_task_runner_handle.h" |
21 #include "content/browser/bad_message.h" | 21 #include "content/browser/bad_message.h" |
22 #include "content/browser/renderer_host/websocket_blob_sender.h" | 22 #include "content/browser/renderer_host/websocket_blob_sender.h" |
23 #include "content/browser/renderer_host/websocket_dispatcher_host.h" | 23 #include "content/browser/renderer_host/websocket_dispatcher_host.h" |
24 #include "content/browser/ssl/ssl_error_handler.h" | 24 #include "content/browser/ssl/ssl_error_handler.h" |
25 #include "content/browser/ssl/ssl_manager.h" | 25 #include "content/browser/ssl/ssl_manager.h" |
26 #include "content/common/websocket_messages.h" | 26 #include "content/common/websocket_messages.h" |
27 #include "content/public/browser/browser_thread.h" | 27 #include "content/public/browser/browser_thread.h" |
28 #include "content/public/browser/render_frame_host.h" | 28 #include "content/public/browser/render_frame_host.h" |
29 #include "content/public/browser/storage_partition.h" | 29 #include "content/public/browser/storage_partition.h" |
30 #include "ipc/ipc_message_macros.h" | 30 #include "ipc/ipc_message_macros.h" |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 default: | 574 default: |
575 ignore_result(dispatcher_->NotifyFailure( | 575 ignore_result(dispatcher_->NotifyFailure( |
576 routing_id_, | 576 routing_id_, |
577 "Failed to load Blob: error code = " + net::ErrorToString(result))); | 577 "Failed to load Blob: error code = " + net::ErrorToString(result))); |
578 // |this| is destroyed here. | 578 // |this| is destroyed here. |
579 return; | 579 return; |
580 } | 580 } |
581 } | 581 } |
582 | 582 |
583 } // namespace content | 583 } // namespace content |
OLD | NEW |