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

Unified Diff: content/common/page_state_serialization_unittest.cc

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « content/common/page_state_serialization.cc ('k') | content/common/resource_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5b79c96e8ca94c542ce6a6c73ddfb89ab63b83d5..7bf6c53b7c3d560e9b1cf534967d34d81462c116 100644
--- a/content/common/page_state_serialization_unittest.cc
+++ b/content/common/page_state_serialization_unittest.cc
@@ -116,12 +116,12 @@ class PageStateSerializationTest : public testing::Test {
http_body->http_content_type = NS16("text/foo");
ExplodedHttpBodyElement e1;
- e1.type = WebKit::WebHTTPBody::Element::TypeData;
+ e1.type = blink::WebHTTPBody::Element::TypeData;
e1.data = "foo";
http_body->elements.push_back(e1);
ExplodedHttpBodyElement e2;
- e2.type = WebKit::WebHTTPBody::Element::TypeFile;
+ e2.type = blink::WebHTTPBody::Element::TypeFile;
e2.file_path = NS16("file.txt");
e2.file_start = 100;
e2.file_length = 1024;
@@ -161,17 +161,17 @@ class PageStateSerializationTest : public testing::Test {
frame_state->http_body.is_null = false;
ExplodedHttpBodyElement e1;
- e1.type = WebKit::WebHTTPBody::Element::TypeData;
+ e1.type = blink::WebHTTPBody::Element::TypeData;
e1.data = "first data block";
frame_state->http_body.elements.push_back(e1);
ExplodedHttpBodyElement e2;
- e2.type = WebKit::WebHTTPBody::Element::TypeFile;
+ e2.type = blink::WebHTTPBody::Element::TypeFile;
e2.file_path = NS16("file.txt");
frame_state->http_body.elements.push_back(e2);
ExplodedHttpBodyElement e3;
- e3.type = WebKit::WebHTTPBody::Element::TypeData;
+ e3.type = blink::WebHTTPBody::Element::TypeData;
e3.data = "data the second";
frame_state->http_body.elements.push_back(e3);
@@ -352,7 +352,7 @@ TEST_F(PageStateSerializationTest, BadMessagesTest2) {
p.WriteInt(0);
// WebForm
p.WriteInt(1);
- p.WriteInt(WebKit::WebHTTPBody::Element::TypeData);
+ p.WriteInt(blink::WebHTTPBody::Element::TypeData);
std::string s(static_cast<const char*>(p.data()), p.size());
« no previous file with comments | « content/common/page_state_serialization.cc ('k') | content/common/resource_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698