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

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

Issue 986643003: Fixed an ignored return value introduced by the ResourceLoaderBridge removal (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | no next file » | 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 #include "content/child/web_url_loader_impl.h" 5 #include "content/child/web_url_loader_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 10
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 resource_dispatcher_->DidChangePriority( 411 resource_dispatcher_->DidChangePriority(
412 request_id_, 412 request_id_,
413 ConvertWebKitPriorityToNetPriority(new_priority), 413 ConvertWebKitPriorityToNetPriority(new_priority),
414 intra_priority_value); 414 intra_priority_value);
415 } 415 }
416 } 416 }
417 417
418 bool WebURLLoaderImpl::Context::AttachThreadedDataReceiver( 418 bool WebURLLoaderImpl::Context::AttachThreadedDataReceiver(
419 blink::WebThreadedDataReceiver* threaded_data_receiver) { 419 blink::WebThreadedDataReceiver* threaded_data_receiver) {
420 if (request_id_ != -1) { 420 if (request_id_ != -1) {
421 resource_dispatcher_->AttachThreadedDataReceiver( 421 return resource_dispatcher_->AttachThreadedDataReceiver(
422 request_id_, threaded_data_receiver); 422 request_id_, threaded_data_receiver);
423 } 423 }
424 424
425 return false; 425 return false;
426 } 426 }
427 427
428 void WebURLLoaderImpl::Context::Start(const WebURLRequest& request, 428 void WebURLLoaderImpl::Context::Start(const WebURLRequest& request,
429 SyncLoadResponse* sync_load_response) { 429 SyncLoadResponse* sync_load_response) {
430 DCHECK(request_id_ == -1); 430 DCHECK(request_id_ == -1);
431 request_ = request; // Save the request. 431 request_ = request; // Save the request.
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 int intra_priority_value) { 1138 int intra_priority_value) {
1139 context_->DidChangePriority(new_priority, intra_priority_value); 1139 context_->DidChangePriority(new_priority, intra_priority_value);
1140 } 1140 }
1141 1141
1142 bool WebURLLoaderImpl::attachThreadedDataReceiver( 1142 bool WebURLLoaderImpl::attachThreadedDataReceiver(
1143 blink::WebThreadedDataReceiver* threaded_data_receiver) { 1143 blink::WebThreadedDataReceiver* threaded_data_receiver) {
1144 return context_->AttachThreadedDataReceiver(threaded_data_receiver); 1144 return context_->AttachThreadedDataReceiver(threaded_data_receiver);
1145 } 1145 }
1146 1146
1147 } // namespace content 1147 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698