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

Unified Diff: net/http/http_response_info.cc

Issue 1154283003: Change most uses of Pickle to base::Pickle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « net/http/http_response_headers_unittest.cc ('k') | net/http/http_response_info_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_response_info.cc
diff --git a/net/http/http_response_info.cc b/net/http/http_response_info.cc
index ba118ac65bdb74480ad8914ab1cd922f444ae5d9..d569d0515f9dcbd9280aa4798553fa2d60898cbc 100644
--- a/net/http/http_response_info.cc
+++ b/net/http/http_response_info.cc
@@ -159,9 +159,9 @@ HttpResponseInfo& HttpResponseInfo::operator=(const HttpResponseInfo& rhs) {
return *this;
}
-bool HttpResponseInfo::InitFromPickle(const Pickle& pickle,
+bool HttpResponseInfo::InitFromPickle(const base::Pickle& pickle,
bool* response_truncated) {
- PickleIterator iter(pickle);
+ base::PickleIterator iter(pickle);
// Read flags and verify version
int flags;
@@ -287,7 +287,7 @@ bool HttpResponseInfo::InitFromPickle(const Pickle& pickle,
return true;
}
-void HttpResponseInfo::Persist(Pickle* pickle,
+void HttpResponseInfo::Persist(base::Pickle* pickle,
bool skip_transient_headers,
bool response_truncated) const {
int flags = RESPONSE_INFO_VERSION;
« no previous file with comments | « net/http/http_response_headers_unittest.cc ('k') | net/http/http_response_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698