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

Unified Diff: content/browser/service_worker/service_worker_fetch_dispatcher.cc

Issue 2646343007: [Mojo-Loading] Implement URLLoader::SetPriority (Closed)
Patch Set: fix Created 3 years, 11 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
Index: content/browser/service_worker/service_worker_fetch_dispatcher.cc
diff --git a/content/browser/service_worker/service_worker_fetch_dispatcher.cc b/content/browser/service_worker/service_worker_fetch_dispatcher.cc
index 6c3cfee4ff7151145d1119b1a58f816f746caa8b..3648fb33bb7c570aae3c082ac970bf005ecf4997 100644
--- a/content/browser/service_worker/service_worker_fetch_dispatcher.cc
+++ b/content/browser/service_worker/service_worker_fetch_dispatcher.cc
@@ -46,6 +46,11 @@ class DelegatingURLLoader final : public mojom::URLLoader {
void FollowRedirect() override { loader_->FollowRedirect(); }
+ void SetPriority(mojom::RequestPriority priority,
+ int intra_priority_value) override {
+ loader_->SetPriority(priority, intra_priority_value);
+ }
+
mojom::URLLoaderPtr CreateInterfacePtrAndBind() {
auto p = binding_.CreateInterfacePtrAndBind();
// This unretained pointer is safe, because |binding_| is owned by |this|

Powered by Google App Engine
This is Rietveld 408576698