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

Unified Diff: chrome/browser/sessions/session_service_unittest.cc

Issue 658073004: Rewrites SerializedNavigationEntry to not have any //content member variables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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: chrome/browser/sessions/session_service_unittest.cc
diff --git a/chrome/browser/sessions/session_service_unittest.cc b/chrome/browser/sessions/session_service_unittest.cc
index edbedbe034f1b204ecfad2e4f883f670965e0ad3..9e11086ac62e29a53265174f3364a0fa42b0f6f0 100644
--- a/chrome/browser/sessions/session_service_unittest.cc
+++ b/chrome/browser/sessions/session_service_unittest.cc
@@ -822,7 +822,8 @@ TEST_F(SessionServiceTest, RemovePostDataWithPasswords) {
// Expected: the HTTP body was removed from the page state of the POST
// navigation with passwords.
- EXPECT_NE(page_state, windows[0]->tabs[0]->navigations[0].page_state());
+ EXPECT_NE(page_state.ToEncodedData(),
+ windows[0]->tabs[0]->navigations[0].encoded_page_state());
}
// This test is only applicable to chromeos.

Powered by Google App Engine
This is Rietveld 408576698