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

Unified Diff: net/http/http_cache_transaction.h

Issue 8525020: Cleanup: Remove unneeded forward declararations in net. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/dns/watching_file_reader.h ('k') | net/http/http_network_transaction.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_cache_transaction.h
===================================================================
--- net/http/http_cache_transaction.h (revision 109589)
+++ net/http/http_cache_transaction.h (working copy)
@@ -20,7 +20,6 @@
namespace net {
-class HttpResponseHeaders;
class PartialData;
struct HttpRequestInfo;
@@ -57,7 +56,7 @@
UPDATE = READ_META | WRITE, // READ_WRITE & ~READ_DATA
};
- Transaction(HttpCache* cache);
+ explicit Transaction(HttpCache* cache);
virtual ~Transaction();
Mode mode() const { return mode_; }
@@ -79,7 +78,9 @@
// response (or response info) must be evaluated by the caller, for instance
// to make sure that the response_time is as expected, before calling this
// method.
- int WriteMetadata(IOBuffer* buf, int buf_len, OldCompletionCallback* callback);
+ int WriteMetadata(IOBuffer* buf,
+ int buf_len,
+ OldCompletionCallback* callback);
// This transaction is being deleted and we are not done writing to the cache.
// We need to indicate that the response data was truncated. Returns true on
« no previous file with comments | « net/dns/watching_file_reader.h ('k') | net/http/http_network_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698