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

Unified Diff: sync/protocol/proto_enum_conversions_unittest.cc

Issue 10382183: [Sync] Move PageTransitions enums to SyncEnums (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile Created 8 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
« no previous file with comments | « sync/protocol/proto_enum_conversions.cc ('k') | sync/protocol/session_specifics.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/protocol/proto_enum_conversions_unittest.cc
diff --git a/sync/protocol/proto_enum_conversions_unittest.cc b/sync/protocol/proto_enum_conversions_unittest.cc
index 6cfa26c930399cbdeaad2bf1d40c494dfb75aefb..d0073483851e7c10792c8f9f5c2b559424e2a2d5 100644
--- a/sync/protocol/proto_enum_conversions_unittest.cc
+++ b/sync/protocol/proto_enum_conversions_unittest.cc
@@ -36,19 +36,19 @@ TEST_F(ProtoEnumConversionsTest, GetPageTransitionString) {
// We have a gap, so we need to do two ranges.
TestEnumStringFunction(
GetPageTransitionString,
- sync_pb::TabNavigation::PageTransition_MIN,
- sync_pb::TabNavigation::KEYWORD_GENERATED);
+ sync_pb::SyncEnums::PageTransition_MIN,
+ sync_pb::SyncEnums::KEYWORD_GENERATED);
TestEnumStringFunction(
GetPageTransitionString,
- sync_pb::TabNavigation::CHAIN_START,
- sync_pb::TabNavigation::PageTransition_MAX);
+ sync_pb::SyncEnums::CHAIN_START,
+ sync_pb::SyncEnums::PageTransition_MAX);
}
TEST_F(ProtoEnumConversionsTest, GetPageTransitionQualifierString) {
TestEnumStringFunction(
GetPageTransitionQualifierString,
- sync_pb::TabNavigation::PageTransitionQualifier_MIN,
- sync_pb::TabNavigation::PageTransitionQualifier_MAX);
+ sync_pb::SyncEnums::PageTransitionQualifier_MIN,
+ sync_pb::SyncEnums::PageTransitionQualifier_MAX);
}
TEST_F(ProtoEnumConversionsTest, GetUpdatesSourceString) {
« no previous file with comments | « sync/protocol/proto_enum_conversions.cc ('k') | sync/protocol/session_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698