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

Side by Side Diff: content/child/resource_dispatcher.h

Issue 2914423002: Network service: move URLLoaderThrottle and ThrottlingURLLoader. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « content/child/request_extra_data.h ('k') | content/child/resource_dispatcher.cc » ('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 (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 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading 5 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading
6 6
7 #ifndef CONTENT_CHILD_RESOURCE_DISPATCHER_H_ 7 #ifndef CONTENT_CHILD_RESOURCE_DISPATCHER_H_
8 #define CONTENT_CHILD_RESOURCE_DISPATCHER_H_ 8 #define CONTENT_CHILD_RESOURCE_DISPATCHER_H_
9 9
10 #include <stdint.h> 10 #include <stdint.h>
11 11
12 #include <deque> 12 #include <deque>
13 #include <map> 13 #include <map>
14 #include <memory> 14 #include <memory>
15 #include <string> 15 #include <string>
16 16
17 #include "base/containers/hash_tables.h" 17 #include "base/containers/hash_tables.h"
18 #include "base/macros.h" 18 #include "base/macros.h"
19 #include "base/memory/linked_ptr.h" 19 #include "base/memory/linked_ptr.h"
20 #include "base/memory/shared_memory.h" 20 #include "base/memory/shared_memory.h"
21 #include "base/memory/weak_ptr.h" 21 #include "base/memory/weak_ptr.h"
22 #include "base/single_thread_task_runner.h" 22 #include "base/single_thread_task_runner.h"
23 #include "base/time/time.h" 23 #include "base/time/time.h"
24 #include "content/common/content_export.h" 24 #include "content/common/content_export.h"
25 #include "content/common/url_loader.mojom.h" 25 #include "content/common/url_loader.mojom.h"
26 #include "content/public/child/url_loader_throttle.h"
27 #include "content/public/common/resource_type.h" 26 #include "content/public/common/resource_type.h"
27 #include "content/public/common/url_loader_throttle.h"
28 #include "ipc/ipc_listener.h" 28 #include "ipc/ipc_listener.h"
29 #include "ipc/ipc_sender.h" 29 #include "ipc/ipc_sender.h"
30 #include "mojo/public/cpp/system/data_pipe.h" 30 #include "mojo/public/cpp/system/data_pipe.h"
31 #include "net/base/request_priority.h" 31 #include "net/base/request_priority.h"
32 #include "third_party/WebKit/public/platform/WebURLRequest.h" 32 #include "third_party/WebKit/public/platform/WebURLRequest.h"
33 #include "url/gurl.h" 33 #include "url/gurl.h"
34 #include "url/origin.h" 34 #include "url/origin.h"
35 35
36 namespace net { 36 namespace net {
37 struct RedirectInfo; 37 struct RedirectInfo;
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter_; 280 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter_;
281 281
282 base::WeakPtrFactory<ResourceDispatcher> weak_factory_; 282 base::WeakPtrFactory<ResourceDispatcher> weak_factory_;
283 283
284 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher); 284 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher);
285 }; 285 };
286 286
287 } // namespace content 287 } // namespace content
288 288
289 #endif // CONTENT_CHILD_RESOURCE_DISPATCHER_H_ 289 #endif // CONTENT_CHILD_RESOURCE_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/child/request_extra_data.h ('k') | content/child/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698