Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Side by Side Diff: content/browser/blob_storage/blob_url_unittest.cc

Issue 2968293002: Introduce SystemNetworkContextManager. (Closed)
Patch Set: Response to comments Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/BUILD.gn ('k') | content/browser/loader/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include <limits> 7 #include <limits>
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/files/scoped_temp_dir.h" 13 #include "base/files/scoped_temp_dir.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ptr_util.h" 15 #include "base/memory/ptr_util.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "base/message_loop/message_loop.h" 17 #include "base/message_loop/message_loop.h"
18 #include "base/numerics/safe_conversions.h" 18 #include "base/numerics/safe_conversions.h"
19 #include "base/run_loop.h" 19 #include "base/run_loop.h"
20 #include "base/threading/thread_task_runner_handle.h" 20 #include "base/threading/thread_task_runner_handle.h"
21 #include "base/time/time.h" 21 #include "base/time/time.h"
22 #include "content/browser/blob_storage/blob_url_loader_factory.h" 22 #include "content/browser/blob_storage/blob_url_loader_factory.h"
23 #include "content/browser/loader/test_url_loader_client.h"
24 #include "content/browser/url_loader_factory_getter.h" 23 #include "content/browser/url_loader_factory_getter.h"
25 #include "content/public/test/test_browser_thread_bundle.h" 24 #include "content/public/test/test_browser_thread_bundle.h"
25 #include "content/public/test/test_url_loader_client.h"
26 #include "mojo/common/data_pipe_utils.h" 26 #include "mojo/common/data_pipe_utils.h"
27 #include "net/base/net_errors.h" 27 #include "net/base/net_errors.h"
28 #include "net/base/request_priority.h" 28 #include "net/base/request_priority.h"
29 #include "net/base/test_completion_callback.h" 29 #include "net/base/test_completion_callback.h"
30 #include "net/disk_cache/disk_cache.h" 30 #include "net/disk_cache/disk_cache.h"
31 #include "net/http/http_byte_range.h" 31 #include "net/http/http_byte_range.h"
32 #include "net/http/http_request_headers.h" 32 #include "net/http/http_request_headers.h"
33 #include "net/http/http_response_headers.h" 33 #include "net/http/http_response_headers.h"
34 #include "net/traffic_annotation/network_traffic_annotation_test_helper.h" 34 #include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
35 #include "net/url_request/url_request.h" 35 #include "net/url_request/url_request.h"
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 "uuid", "", "", storage::BlobStatus::ERR_INVALID_CONSTRUCTION_ARGUMENTS); 659 "uuid", "", "", storage::BlobStatus::ERR_INVALID_CONSTRUCTION_ARGUMENTS);
660 TestErrorRequest(500); 660 TestErrorRequest(500);
661 } 661 }
662 662
663 // The parameter's value determines whether BlobURLLoaderFactory is used. 663 // The parameter's value determines whether BlobURLLoaderFactory is used.
664 INSTANTIATE_TEST_CASE_P(BlobURLRequestJobTest, 664 INSTANTIATE_TEST_CASE_P(BlobURLRequestJobTest,
665 BlobURLRequestJobTest, 665 BlobURLRequestJobTest,
666 ::testing::Bool()); 666 ::testing::Bool());
667 667
668 } // namespace content 668 } // namespace content
OLDNEW
« no previous file with comments | « content/BUILD.gn ('k') | content/browser/loader/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698