Index: content/common/page_state_serialization_unittest.cc |
diff --git a/content/common/page_state_serialization_unittest.cc b/content/common/page_state_serialization_unittest.cc |
index e5c42a22916627ff4b891e65583c0a590b92d5a1..bd449378c378fb8a6eb14a208002b8ff13d14029 100644 |
--- a/content/common/page_state_serialization_unittest.cc |
+++ b/content/common/page_state_serialization_unittest.cc |
@@ -41,11 +41,11 @@ void ExpectEquality(const std::vector<T>& a, const std::vector<T>& b) { |
} |
template <> |
-void ExpectEquality(const ResourceRequestBodyImpl::Element& a, |
- const ResourceRequestBodyImpl::Element& b) { |
+void ExpectEquality(const ResourceRequestBody::Element& a, |
+ const ResourceRequestBody::Element& b) { |
EXPECT_EQ(a.type(), b.type()); |
- if (a.type() == ResourceRequestBodyImpl::Element::TYPE_BYTES && |
- b.type() == ResourceRequestBodyImpl::Element::TYPE_BYTES) { |
+ if (a.type() == ResourceRequestBody::Element::TYPE_BYTES && |
+ b.type() == ResourceRequestBody::Element::TYPE_BYTES) { |
EXPECT_EQ(std::string(a.bytes(), a.length()), |
std::string(b.bytes(), b.length())); |
} |
@@ -119,7 +119,7 @@ class PageStateSerializationTest : public testing::Test { |
void PopulateHttpBody(ExplodedHttpBody* http_body, |
std::vector<base::NullableString16>* referenced_files) { |
- http_body->request_body = new ResourceRequestBodyImpl(); |
+ http_body->request_body = new ResourceRequestBody(); |
http_body->request_body->set_identifier(12345); |
http_body->contains_passwords = false; |
http_body->http_content_type = NS16("text/foo"); |
@@ -163,7 +163,7 @@ class PageStateSerializationTest : public testing::Test { |
if (!is_child) { |
frame_state->http_body.http_content_type = NS16("foo/bar"); |
- frame_state->http_body.request_body = new ResourceRequestBodyImpl(); |
+ frame_state->http_body.request_body = new ResourceRequestBody(); |
frame_state->http_body.request_body->set_identifier(789); |
std::string test_body("first data block"); |