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

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

Issue 10897034: First part of PAGE_TRANSITION_START_PAGE cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 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/sessions/session_restore.cc ('k') | chrome/browser/ui/browser_close_browsertest.cc » ('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.cc
diff --git a/chrome/browser/sync/glue/session_model_associator.cc b/chrome/browser/sync/glue/session_model_associator.cc
index 58dc3a6d7004965a86d5c668458f91bc75a41df8..7cfbc15392317026da5260965e3fd039bb4f7e03 100644
--- a/chrome/browser/sync/glue/session_model_associator.cc
+++ b/chrome/browser/sync/glue/session_model_associator.cc
@@ -681,9 +681,9 @@ void SessionModelAssociator::PopulateSessionSpecificsNavigation(
tab_navigation->set_page_transition(
sync_pb::SyncEnums_PageTransition_GENERATED);
break;
- case content::PAGE_TRANSITION_START_PAGE:
+ case content::PAGE_TRANSITION_AUTO_TOPLEVEL:
tab_navigation->set_page_transition(
- sync_pb::SyncEnums_PageTransition_START_PAGE);
+ sync_pb::SyncEnums_PageTransition_AUTO_TOPLEVEL);
break;
case content::PAGE_TRANSITION_FORM_SUBMIT:
tab_navigation->set_page_transition(
@@ -1253,8 +1253,8 @@ void SessionModelAssociator::AppendSessionTabNavigation(
case sync_pb::SyncEnums_PageTransition_GENERATED:
transition = content::PAGE_TRANSITION_GENERATED;
break;
- case sync_pb::SyncEnums_PageTransition_START_PAGE:
- transition = content::PAGE_TRANSITION_START_PAGE;
+ case sync_pb::SyncEnums_PageTransition_AUTO_TOPLEVEL:
+ transition = content::PAGE_TRANSITION_AUTO_TOPLEVEL;
break;
case sync_pb::SyncEnums_PageTransition_FORM_SUBMIT:
transition = content::PAGE_TRANSITION_FORM_SUBMIT;
« no previous file with comments | « chrome/browser/sessions/session_restore.cc ('k') | chrome/browser/ui/browser_close_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698