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

Unified Diff: content/common/resource_messages.cc

Issue 2954343005: Merge ResourceRequestBodyImpl and ResourceRequestBody. (Closed)
Patch Set: Remove comment Created 3 years, 6 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 | « content/common/resource_messages.h ('k') | content/common/resource_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/resource_messages.cc
diff --git a/content/common/resource_messages.cc b/content/common/resource_messages.cc
index bff3c18268733ede38572de06dada88b5cbe64c1..a6a439168d63507c8b596752f765a126c17ec6d8 100644
--- a/content/common/resource_messages.cc
+++ b/content/common/resource_messages.cc
@@ -529,7 +529,7 @@ void ParamTraits<net::LoadTimingInfo>::Log(const param_type& p,
l->append(")");
}
-void ParamTraits<scoped_refptr<content::ResourceRequestBodyImpl>>::GetSize(
+void ParamTraits<scoped_refptr<content::ResourceRequestBody>>::GetSize(
base::PickleSizer* s,
const param_type& p) {
GetParamSize(s, p.get() != NULL);
@@ -540,7 +540,7 @@ void ParamTraits<scoped_refptr<content::ResourceRequestBodyImpl>>::GetSize(
}
}
-void ParamTraits<scoped_refptr<content::ResourceRequestBodyImpl>>::Write(
+void ParamTraits<scoped_refptr<content::ResourceRequestBody>>::Write(
base::Pickle* m,
const param_type& p) {
WriteParam(m, p.get() != NULL);
@@ -551,7 +551,7 @@ void ParamTraits<scoped_refptr<content::ResourceRequestBodyImpl>>::Write(
}
}
-bool ParamTraits<scoped_refptr<content::ResourceRequestBodyImpl>>::Read(
+bool ParamTraits<scoped_refptr<content::ResourceRequestBody>>::Read(
const base::Pickle* m,
base::PickleIterator* iter,
param_type* r) {
@@ -569,17 +569,17 @@ bool ParamTraits<scoped_refptr<content::ResourceRequestBodyImpl>>::Read(
bool contains_sensitive_info;
if (!ReadParam(m, iter, &contains_sensitive_info))
return false;
- *r = new content::ResourceRequestBodyImpl;
+ *r = new content::ResourceRequestBody;
(*r)->swap_elements(&elements);
(*r)->set_identifier(identifier);
(*r)->set_contains_sensitive_info(contains_sensitive_info);
return true;
}
-void ParamTraits<scoped_refptr<content::ResourceRequestBodyImpl>>::Log(
+void ParamTraits<scoped_refptr<content::ResourceRequestBody>>::Log(
const param_type& p,
std::string* l) {
- l->append("<ResourceRequestBodyImpl>");
+ l->append("<ResourceRequestBody>");
}
void ParamTraits<scoped_refptr<net::ct::SignedCertificateTimestamp>>::GetSize(
« no previous file with comments | « content/common/resource_messages.h ('k') | content/common/resource_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698