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

Unified Diff: content/test/test_web_contents.cc

Issue 14985014: Introduce content::PageState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comments to the top of page_state.h Created 7 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
Index: content/test/test_web_contents.cc
diff --git a/content/test/test_web_contents.cc b/content/test/test_web_contents.cc
index e46182b1129cba441e9db23673f9be5bd8293a01..bdcc948b33189187fe92ab5cecef762633a5b1c2 100644
--- a/content/test/test_web_contents.cc
+++ b/content/test/test_web_contents.cc
@@ -15,10 +15,10 @@
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/notification_source.h"
#include "content/public/browser/notification_types.h"
+#include "content/public/common/page_state.h"
#include "content/public/common/page_transition_types.h"
#include "content/public/common/password_form.h"
#include "content/public/test/mock_render_process_host.h"
-#include "webkit/glue/glue_serialize.h"
namespace content {
@@ -83,7 +83,7 @@ void TestWebContents::TestDidNavigateWithReferrer(
params.gesture = NavigationGestureUser;
params.was_within_same_page = false;
params.is_post = false;
- params.content_state = webkit_glue::CreateHistoryStateForURL(GURL(url));
+ params.page_state = PageState::CreateFromURL(url);
DidNavigate(render_view_host, params);
}

Powered by Google App Engine
This is Rietveld 408576698