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

Unified Diff: chrome/browser/sync/glue/session_model_associator_unittest.cc

Issue 7981006: [Sync] use base::Time in sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux compile errors Created 9 years, 3 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
« no previous file with comments | « chrome/browser/sync/glue/session_model_associator.cc ('k') | chrome/browser/sync/internal_api/base_node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/session_model_associator_unittest.cc
diff --git a/chrome/browser/sync/glue/session_model_associator_unittest.cc b/chrome/browser/sync/glue/session_model_associator_unittest.cc
index 365b65200f28478d39b1ed8d48d6ae5a82b8edc9..8aa34195f1a12d039f801c054fed4f516eaef6b2 100644
--- a/chrome/browser/sync/glue/session_model_associator_unittest.cc
+++ b/chrome/browser/sync/glue/session_model_associator_unittest.cc
@@ -89,7 +89,7 @@ TEST_F(SessionModelAssociatorTest, PopulateSessionWindow) {
SessionWindow* win = new SessionWindow();
session->windows.push_back(win);
SessionModelAssociator::PopulateSessionWindowFromSpecifics(
- tag, window_s, 0, win, &tracker);
+ tag, window_s, base::Time(), win, &tracker);
ASSERT_EQ(1U, win->tabs.size());
ASSERT_EQ(1, win->selected_tab_index);
ASSERT_EQ(1, win->type);
@@ -118,7 +118,8 @@ TEST_F(SessionModelAssociatorTest, PopulateSessionTab) {
navigation->set_page_transition(sync_pb::TabNavigation_PageTransition_TYPED);
SessionTab tab;
- SessionModelAssociator::PopulateSessionTabFromSpecifics(tab_s, 0, &tab);
+ SessionModelAssociator::PopulateSessionTabFromSpecifics(
+ tab_s, base::Time(), &tab);
ASSERT_EQ(13, tab.tab_visual_index);
ASSERT_EQ(3, tab.current_navigation_index);
ASSERT_TRUE(tab.pinned);
« no previous file with comments | « chrome/browser/sync/glue/session_model_associator.cc ('k') | chrome/browser/sync/internal_api/base_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698