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

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

Issue 2118903002: scheduler: Move the Blink scheduler into Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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/runtime_features.cc ('k') | content/child/web_url_loader_impl.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ 5 #ifndef CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_
6 #define CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ 6 #define CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 20 matching lines...) Expand all
31 // that it can release its associated stream handle. 31 // that it can release its associated stream handle.
32 GURL stream_url; 32 GURL stream_url;
33 ResourceResponseHead response; 33 ResourceResponseHead response;
34 }; 34 };
35 35
36 class CONTENT_EXPORT WebURLLoaderImpl 36 class CONTENT_EXPORT WebURLLoaderImpl
37 : public NON_EXPORTED_BASE(blink::WebURLLoader) { 37 : public NON_EXPORTED_BASE(blink::WebURLLoader) {
38 public: 38 public:
39 39
40 // Takes ownership of |web_task_runner|. 40 // Takes ownership of |web_task_runner|.
41 WebURLLoaderImpl(ResourceDispatcher* resource_dispatcher, 41 WebURLLoaderImpl(ResourceDispatcher* resource_dispatcher);
42 std::unique_ptr<blink::WebTaskRunner> web_task_runner);
43 ~WebURLLoaderImpl() override; 42 ~WebURLLoaderImpl() override;
44 43
45 static void PopulateURLResponse(const GURL& url, 44 static void PopulateURLResponse(const GURL& url,
46 const ResourceResponseInfo& info, 45 const ResourceResponseInfo& info,
47 blink::WebURLResponse* response, 46 blink::WebURLResponse* response,
48 bool report_security_info); 47 bool report_security_info);
49 static void PopulateURLRequestForRedirect( 48 static void PopulateURLRequestForRedirect(
50 const blink::WebURLRequest& request, 49 const blink::WebURLRequest& request,
51 const net::RedirectInfo& redirect_info, 50 const net::RedirectInfo& redirect_info,
52 blink::WebReferrerPolicy referrer_policy, 51 blink::WebReferrerPolicy referrer_policy,
(...skipping 25 matching lines...) Expand all
78 class Context; 77 class Context;
79 class RequestPeerImpl; 78 class RequestPeerImpl;
80 scoped_refptr<Context> context_; 79 scoped_refptr<Context> context_;
81 80
82 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderImpl); 81 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderImpl);
83 }; 82 };
84 83
85 } // namespace content 84 } // namespace content
86 85
87 #endif // CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ 86 #endif // CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/runtime_features.cc ('k') | content/child/web_url_loader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698