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

Side by Side Diff: content/browser/loader/layered_resource_handler.h

Issue 2660723002: ResourceHandler::OnWillStart: Remove min_size argument. (Closed)
Patch Set: Merge Created 3 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_LOADER_LAYERED_RESOURCE_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_LOADER_LAYERED_RESOURCE_HANDLER_H_
6 #define CONTENT_BROWSER_LOADER_LAYERED_RESOURCE_HANDLER_H_ 6 #define CONTENT_BROWSER_LOADER_LAYERED_RESOURCE_HANDLER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "content/browser/loader/resource_handler.h" 10 #include "content/browser/loader/resource_handler.h"
(...skipping 20 matching lines...) Expand all
31 void OnRequestRedirected( 31 void OnRequestRedirected(
32 const net::RedirectInfo& redirect_info, 32 const net::RedirectInfo& redirect_info,
33 ResourceResponse* response, 33 ResourceResponse* response,
34 std::unique_ptr<ResourceController> controller) override; 34 std::unique_ptr<ResourceController> controller) override;
35 void OnResponseStarted( 35 void OnResponseStarted(
36 ResourceResponse* response, 36 ResourceResponse* response,
37 std::unique_ptr<ResourceController> controller) override; 37 std::unique_ptr<ResourceController> controller) override;
38 void OnWillStart(const GURL& url, 38 void OnWillStart(const GURL& url,
39 std::unique_ptr<ResourceController> controller) override; 39 std::unique_ptr<ResourceController> controller) override;
40 bool OnWillRead(scoped_refptr<net::IOBuffer>* buf, 40 bool OnWillRead(scoped_refptr<net::IOBuffer>* buf,
41 int* buf_size, 41 int* buf_size) override;
42 int min_size) override;
43 void OnReadCompleted(int bytes_read, 42 void OnReadCompleted(int bytes_read,
44 std::unique_ptr<ResourceController> controller) override; 43 std::unique_ptr<ResourceController> controller) override;
45 void OnResponseCompleted( 44 void OnResponseCompleted(
46 const net::URLRequestStatus& status, 45 const net::URLRequestStatus& status,
47 std::unique_ptr<ResourceController> controller) override; 46 std::unique_ptr<ResourceController> controller) override;
48 void OnDataDownloaded(int bytes_downloaded) override; 47 void OnDataDownloaded(int bytes_downloaded) override;
49 48
50 std::unique_ptr<ResourceHandler> next_handler_; 49 std::unique_ptr<ResourceHandler> next_handler_;
51 }; 50 };
52 51
53 } // namespace content 52 } // namespace content
54 53
55 #endif // CONTENT_BROWSER_LOADER_LAYERED_RESOURCE_HANDLER_H_ 54 #endif // CONTENT_BROWSER_LOADER_LAYERED_RESOURCE_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/loader/intercepting_resource_handler_unittest.cc ('k') | content/browser/loader/layered_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698