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

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: Fix compilation issues. 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 a51be653e4d8bf7812c73e1c64564139c2c8c290..5ccb0320679893fa8cd890838469448d8c1fffee 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