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

Side by Side Diff: content/public/browser/resource_throttle.cc

Issue 2535723005: Stop using ResourceController in ResourceThrottle (Closed)
Patch Set: Addressed #48 Created 4 years 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/public/browser/resource_throttle.h" 5 #include "content/public/browser/resource_throttle.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 bool ResourceThrottle::MustProcessResponseBeforeReadingBody() { 9 bool ResourceThrottle::MustProcessResponseBeforeReadingBody() {
10 return false; 10 return false;
11 } 11 }
12 12
13 void ResourceThrottle::Cancel() {
14 delegate_->Cancel();
15 }
16
17 void ResourceThrottle::CancelAndIgnore() {
18 delegate_->CancelAndIgnore();
19 }
20
21 void ResourceThrottle::CancelWithError(int error_code) {
22 delegate_->CancelWithError(error_code);
23 }
24
25 void ResourceThrottle::Resume() {
26 delegate_->Resume();
27 }
28
13 } // namespace content 29 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698