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

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

Issue 10578055: Rewrite guts of ResourceLoader and BufferedResourceHandler to suck less. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
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_RENDERER_HOST_LAYERED_RESOURCE_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_LAYERED_RESOURCE_HANDLER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_LAYERED_RESOURCE_HANDLER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_LAYERED_RESOURCE_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/browser/renderer_host/resource_handler.h" 10 #include "content/browser/renderer_host/resource_handler.h"
(...skipping 15 matching lines...) Expand all
26 virtual bool OnRequestRedirected(int request_id, const GURL& url, 26 virtual bool OnRequestRedirected(int request_id, const GURL& url,
27 ResourceResponse* response, 27 ResourceResponse* response,
28 bool* defer) OVERRIDE; 28 bool* defer) OVERRIDE;
29 virtual bool OnResponseStarted(int request_id, 29 virtual bool OnResponseStarted(int request_id,
30 ResourceResponse* response, 30 ResourceResponse* response,
31 bool* defer) OVERRIDE; 31 bool* defer) OVERRIDE;
32 virtual bool OnWillStart(int request_id, const GURL& url, 32 virtual bool OnWillStart(int request_id, const GURL& url,
33 bool* defer) OVERRIDE; 33 bool* defer) OVERRIDE;
34 virtual bool OnWillRead(int request_id, net::IOBuffer** buf, int* buf_size, 34 virtual bool OnWillRead(int request_id, net::IOBuffer** buf, int* buf_size,
35 int min_size) OVERRIDE; 35 int min_size) OVERRIDE;
36 virtual bool OnReadCompleted(int request_id, int* bytes_read, 36 virtual bool OnReadCompleted(int request_id, int bytes_read,
37 bool* defer) OVERRIDE; 37 bool* defer) OVERRIDE;
38 virtual bool OnResponseCompleted(int request_id, 38 virtual bool OnResponseCompleted(int request_id,
39 const net::URLRequestStatus& status, 39 const net::URLRequestStatus& status,
40 const std::string& security_info) OVERRIDE; 40 const std::string& security_info) OVERRIDE;
41 virtual void OnDataDownloaded(int request_id, int bytes_downloaded) OVERRIDE; 41 virtual void OnDataDownloaded(int request_id, int bytes_downloaded) OVERRIDE;
42 42
43 scoped_ptr<ResourceHandler> next_handler_; 43 scoped_ptr<ResourceHandler> next_handler_;
44 }; 44 };
45 45
46 } // namespace content 46 } // namespace content
47 47
48 #endif // CONTENT_BROWSER_RENDERER_HOST_LAYERED_RESOURCE_HANDLER_H_ 48 #endif // CONTENT_BROWSER_RENDERER_HOST_LAYERED_RESOURCE_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/doomed_resource_handler.cc ('k') | content/browser/renderer_host/layered_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698