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

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

Issue 11098002: [Sync] Add a new global_id field to sync_pb::TabNavigation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't remove unique_id Created 8 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
« no previous file with comments | « chrome/browser/sessions/session_types.cc ('k') | sync/protocol/proto_value_conversions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/session_types_unittest.cc
diff --git a/chrome/browser/sessions/session_types_unittest.cc b/chrome/browser/sessions/session_types_unittest.cc
index 130d4e504a1c5485c25ad92b8e86527929dc4561..801d4ae8808430d90cc22696dc37c13418bc2c41 100644
--- a/chrome/browser/sessions/session_types_unittest.cc
+++ b/chrome/browser/sessions/session_types_unittest.cc
@@ -244,6 +244,7 @@ TEST(TabNavigationTest, ToSyncData) {
EXPECT_TRUE(sync_data.has_redirect_type());
EXPECT_EQ(navigation_entry->GetUniqueID(), sync_data.unique_id());
EXPECT_EQ(syncer::TimeToProtoTime(kTimestamp), sync_data.timestamp());
+ EXPECT_EQ(kTimestamp.ToInternalValue(), sync_data.global_id());
}
// Ensure all transition types and qualifiers are converted to/from the sync
« no previous file with comments | « chrome/browser/sessions/session_types.cc ('k') | sync/protocol/proto_value_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698