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

Side by Side Diff: content/browser/loader/resource_dispatcher_host_impl.h

Issue 2038813003: Making ResourceRequestBody part of //content's public API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This is the browser side of the resource dispatcher, it receives requests 5 // This is the browser side of the resource dispatcher, it receives requests
6 // from the child process (i.e. [Renderer, Plugin, Worker]ProcessHost), and 6 // from the child process (i.e. [Renderer, Plugin, Worker]ProcessHost), and
7 // dispatches them to URLRequests. It then forwards the messages from the 7 // dispatches them to URLRequests. It then forwards the messages from the
8 // URLRequests back to the correct process for handling. 8 // URLRequests back to the correct process for handling.
9 // 9 //
10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading 10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading
(...skipping 14 matching lines...) Expand all
25 #include "base/observer_list.h" 25 #include "base/observer_list.h"
26 #include "base/time/time.h" 26 #include "base/time/time.h"
27 #include "base/timer/timer.h" 27 #include "base/timer/timer.h"
28 #include "content/browser/download/download_resource_handler.h" 28 #include "content/browser/download/download_resource_handler.h"
29 #include "content/browser/download/save_types.h" 29 #include "content/browser/download/save_types.h"
30 #include "content/browser/loader/global_routing_id.h" 30 #include "content/browser/loader/global_routing_id.h"
31 #include "content/browser/loader/resource_loader.h" 31 #include "content/browser/loader/resource_loader.h"
32 #include "content/browser/loader/resource_loader_delegate.h" 32 #include "content/browser/loader/resource_loader_delegate.h"
33 #include "content/browser/loader/resource_scheduler.h" 33 #include "content/browser/loader/resource_scheduler.h"
34 #include "content/common/content_export.h" 34 #include "content/common/content_export.h"
35 #include "content/common/resource_request_body.h" 35 #include "content/common/resource_request_body_impl.h"
Charlie Reis 2016/06/07 22:21:01 Maybe this can be moved to the .cc file? Looks li
Łukasz Anforowicz 2016/06/08 16:51:56 Good catch. Done.
36 #include "content/public/browser/child_process_data.h" 36 #include "content/public/browser/child_process_data.h"
37 #include "content/public/browser/download_item.h" 37 #include "content/public/browser/download_item.h"
38 #include "content/public/browser/download_url_parameters.h" 38 #include "content/public/browser/download_url_parameters.h"
39 #include "content/public/browser/global_request_id.h" 39 #include "content/public/browser/global_request_id.h"
40 #include "content/public/browser/notification_types.h" 40 #include "content/public/browser/notification_types.h"
41 #include "content/public/browser/resource_dispatcher_host.h" 41 #include "content/public/browser/resource_dispatcher_host.h"
42 #include "content/public/browser/web_contents_observer.h" 42 #include "content/public/browser/web_contents_observer.h"
43 #include "content/public/common/resource_type.h" 43 #include "content/public/common/resource_type.h"
44 #include "ipc/ipc_message.h" 44 #include "ipc/ipc_message.h"
45 #include "net/base/request_priority.h" 45 #include "net/base/request_priority.h"
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 // Allows tests to use a mock CertStore. If set, the CertStore must 662 // Allows tests to use a mock CertStore. If set, the CertStore must
663 // outlive this ResourceDispatcherHostImpl. 663 // outlive this ResourceDispatcherHostImpl.
664 CertStore* cert_store_for_testing_; 664 CertStore* cert_store_for_testing_;
665 665
666 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); 666 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl);
667 }; 667 };
668 668
669 } // namespace content 669 } // namespace content
670 670
671 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ 671 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698