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

Side by Side Diff: net/http/http_network_transaction.h

Issue 7569027: net: Notify the http job and cache transaction about a filter (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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
« no previous file with comments | « net/http/http_cache_unittest.cc ('k') | net/http/http_transaction.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ 6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 virtual int RestartIgnoringLastError(CompletionCallback* callback); 46 virtual int RestartIgnoringLastError(CompletionCallback* callback);
47 virtual int RestartWithCertificate(X509Certificate* client_cert, 47 virtual int RestartWithCertificate(X509Certificate* client_cert,
48 CompletionCallback* callback); 48 CompletionCallback* callback);
49 virtual int RestartWithAuth(const string16& username, 49 virtual int RestartWithAuth(const string16& username,
50 const string16& password, 50 const string16& password,
51 CompletionCallback* callback); 51 CompletionCallback* callback);
52 virtual bool IsReadyToRestartForAuth(); 52 virtual bool IsReadyToRestartForAuth();
53 53
54 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 54 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback);
55 virtual void StopCaching() {} 55 virtual void StopCaching() {}
56 virtual void DoneReading() {}
56 virtual const HttpResponseInfo* GetResponseInfo() const; 57 virtual const HttpResponseInfo* GetResponseInfo() const;
57 virtual LoadState GetLoadState() const; 58 virtual LoadState GetLoadState() const;
58 virtual uint64 GetUploadProgress() const; 59 virtual uint64 GetUploadProgress() const;
59 60
60 // HttpStreamRequest::Delegate methods: 61 // HttpStreamRequest::Delegate methods:
61 virtual void OnStreamReady(const SSLConfig& used_ssl_config, 62 virtual void OnStreamReady(const SSLConfig& used_ssl_config,
62 const ProxyInfo& used_proxy_info, 63 const ProxyInfo& used_proxy_info,
63 HttpStream* stream); 64 HttpStream* stream);
64 virtual void OnStreamFailed(int status, 65 virtual void OnStreamFailed(int status,
65 const SSLConfig& used_ssl_config); 66 const SSLConfig& used_ssl_config);
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 // True when the tunnel is in the process of being established - we can't 269 // True when the tunnel is in the process of being established - we can't
269 // read from the socket until the tunnel is done. 270 // read from the socket until the tunnel is done.
270 bool establishing_tunnel_; 271 bool establishing_tunnel_;
271 272
272 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); 273 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction);
273 }; 274 };
274 275
275 } // namespace net 276 } // namespace net
276 277
277 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ 278 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
OLDNEW
« no previous file with comments | « net/http/http_cache_unittest.cc ('k') | net/http/http_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698