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

Unified Diff: content/child/request_info.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/child/request_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/request_info.h
diff --git a/content/child/request_info.h b/content/child/request_info.h
index f7d7339fed061d24919efc24feaa5b314ca0de7f..4f453801eda8018fe632f0f18a3a39840ffcbb2f 100644
--- a/content/child/request_info.h
+++ b/content/child/request_info.h
@@ -11,6 +11,7 @@
#include <string>
#include "base/macros.h"
+#include "base/memory/ref_counted.h"
#include "content/common/content_export.h"
#include "content/common/navigation_params.h"
#include "content/common/service_worker/service_worker_types.h"
@@ -20,14 +21,13 @@
#include "content/public/common/resource_type.h"
#include "net/base/request_priority.h"
#include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
-#include "third_party/WebKit/public/platform/WebTaskRunner.h"
#include "third_party/WebKit/public/platform/WebURLRequest.h"
#include "url/gurl.h"
#include "url/origin.h"
-namespace blink {
-class WebTaskRunner;
-} // namespace blink
+namespace base {
+class SingleThreadTaskRunner;
+}
namespace content {
@@ -123,7 +123,7 @@ struct CONTENT_EXPORT RequestInfo {
blink::WebURLRequest::ExtraData* extra_data;
// Optional, the specific task queue to execute loading tasks on.
- std::unique_ptr<blink::WebTaskRunner> loading_web_task_runner;
+ scoped_refptr<base::SingleThreadTaskRunner> loading_task_runner;
// PlzNavigate: the stream URL to request during navigations to get access to
// the ResourceBody that has already been fetched by the browser process.
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/child/request_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698