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

Unified Diff: net/http/http_response_info.h

Issue 6085013: Start reordering the methods in headers in net/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: net/http/http_response_info.h
diff --git a/net/http/http_response_info.h b/net/http/http_response_info.h
index cd66982c0de9696dd1fa4db07a1e0bfcc897d572..4fbea3d4ad77cc2e12270c59a3f4349c6fc0b2c2 100644
--- a/net/http/http_response_info.h
+++ b/net/http/http_response_info.h
@@ -28,6 +28,14 @@ class HttpResponseInfo {
// Even though we could get away with the copy ctor and default operator=,
// that would prevent us from doing a bunch of forward declaration.
+ // Initializes from the representation stored in the given pickle.
+ bool InitFromPickle(const Pickle& pickle, bool* response_truncated);
+
+ // Call this method to persist the response info.
+ void Persist(Pickle* pickle,
+ bool skip_transient_headers,
+ bool response_truncated) const;
+
// The following is only defined if the request_time member is set.
// If this response was resurrected from cache, then this bool is set, and
// request_time may corresponds to a time "far" in the past. Note that
@@ -81,14 +89,6 @@ class HttpResponseInfo {
// Any metadata asociated with this resource's cached data.
scoped_refptr<IOBufferWithSize> metadata;
-
- // Initializes from the representation stored in the given pickle.
- bool InitFromPickle(const Pickle& pickle, bool* response_truncated);
-
- // Call this method to persist the response info.
- void Persist(Pickle* pickle,
- bool skip_transient_headers,
- bool response_truncated) const;
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698