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

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

Issue 10640019: Remove the HANDLED_EXTERNALLY status code. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase + fix nits Created 8 years, 3 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_RENDERER_HOST_BUFFERED_RESOURCE_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BUFFERED_RESOURCE_HANDLER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_BUFFERED_RESOURCE_HANDLER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_BUFFERED_RESOURCE_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 int min_size) OVERRIDE; 45 int min_size) OVERRIDE;
46 virtual bool OnReadCompleted(int request_id, int bytes_read, 46 virtual bool OnReadCompleted(int request_id, int bytes_read,
47 bool* defer) OVERRIDE; 47 bool* defer) OVERRIDE;
48 virtual bool OnResponseCompleted(int request_id, 48 virtual bool OnResponseCompleted(int request_id,
49 const net::URLRequestStatus& status, 49 const net::URLRequestStatus& status,
50 const std::string& security_info) OVERRIDE; 50 const std::string& security_info) OVERRIDE;
51 51
52 // ResourceController implementation: 52 // ResourceController implementation:
53 virtual void Resume() OVERRIDE; 53 virtual void Resume() OVERRIDE;
54 virtual void Cancel() OVERRIDE; 54 virtual void Cancel() OVERRIDE;
55 virtual void CancelAndIgnore() OVERRIDE;
55 56
56 bool ProcessResponse(bool* defer); 57 bool ProcessResponse(bool* defer);
57 58
58 bool ShouldSniffContent(); 59 bool ShouldSniffContent();
59 bool DetermineMimeType(); 60 bool DetermineMimeType();
60 bool SelectNextHandler(bool* defer); 61 bool SelectNextHandler(bool* defer);
61 bool UseAlternateNextHandler(scoped_ptr<ResourceHandler> handler); 62 bool UseAlternateNextHandler(scoped_ptr<ResourceHandler> handler);
62 63
63 bool ReplayReadCompleted(bool* defer); 64 bool ReplayReadCompleted(bool* defer);
64 void CallReplayReadCompleted(); 65 void CallReplayReadCompleted();
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 bool must_download_is_set_; 106 bool must_download_is_set_;
106 107
107 base::WeakPtrFactory<BufferedResourceHandler> weak_ptr_factory_; 108 base::WeakPtrFactory<BufferedResourceHandler> weak_ptr_factory_;
108 109
109 DISALLOW_COPY_AND_ASSIGN(BufferedResourceHandler); 110 DISALLOW_COPY_AND_ASSIGN(BufferedResourceHandler);
110 }; 111 };
111 112
112 } // namespace content 113 } // namespace content
113 114
114 #endif // CONTENT_BROWSER_RENDERER_HOST_BUFFERED_RESOURCE_HANDLER_H_ 115 #endif // CONTENT_BROWSER_RENDERER_HOST_BUFFERED_RESOURCE_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/async_resource_handler.cc ('k') | content/browser/renderer_host/buffered_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698