OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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/blob_storage/blob_url_loader_factory.h" | 5 #include "content/browser/blob_storage/blob_url_loader_factory.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/threading/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
13 #include "content/browser/blob_storage/chrome_blob_storage_context.h" | 13 #include "content/browser/blob_storage/chrome_blob_storage_context.h" |
14 #include "content/browser/storage_partition_impl.h" | 14 #include "content/browser/storage_partition_impl.h" |
15 #include "content/common/net_adapters.h" | 15 #include "content/common/net_adapters.h" |
16 #include "content/common/url_loader.mojom.h" | |
17 #include "content/public/browser/browser_thread.h" | 16 #include "content/public/browser/browser_thread.h" |
| 17 #include "content/public/common/url_loader.mojom.h" |
18 #include "mojo/public/cpp/system/simple_watcher.h" | 18 #include "mojo/public/cpp/system/simple_watcher.h" |
19 #include "net/base/io_buffer.h" | 19 #include "net/base/io_buffer.h" |
20 #include "net/http/http_byte_range.h" | 20 #include "net/http/http_byte_range.h" |
21 #include "net/http/http_request_headers.h" | 21 #include "net/http/http_request_headers.h" |
22 #include "net/http/http_response_headers.h" | 22 #include "net/http/http_response_headers.h" |
23 #include "net/http/http_status_code.h" | 23 #include "net/http/http_status_code.h" |
24 #include "net/http/http_util.h" | 24 #include "net/http/http_util.h" |
25 #include "storage/browser/blob/blob_data_handle.h" | 25 #include "storage/browser/blob/blob_data_handle.h" |
26 #include "storage/browser/blob/blob_reader.h" | 26 #include "storage/browser/blob/blob_reader.h" |
27 #include "storage/browser/blob/blob_storage_context.h" | 27 #include "storage/browser/blob/blob_storage_context.h" |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 } | 419 } |
420 | 420 |
421 void BlobURLLoaderFactory::SyncLoad(int32_t routing_id, | 421 void BlobURLLoaderFactory::SyncLoad(int32_t routing_id, |
422 int32_t request_id, | 422 int32_t request_id, |
423 const ResourceRequest& request, | 423 const ResourceRequest& request, |
424 SyncLoadCallback callback) { | 424 SyncLoadCallback callback) { |
425 NOTREACHED(); | 425 NOTREACHED(); |
426 } | 426 } |
427 | 427 |
428 } // namespace content | 428 } // namespace content |
OLD | NEW |