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

Unified Diff: sync/protocol/sync_enums.proto

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/session_specifics.proto ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/protocol/sync_enums.proto
diff --git a/sync/protocol/sync_enums.proto b/sync/protocol/sync_enums.proto
index e419183ba05dd0f81031ffc0aa5aba9cee70f662..0842cff2951e5840a54fe01a5c6d81a1b9f74b73 100644
--- a/sync/protocol/sync_enums.proto
+++ b/sync/protocol/sync_enums.proto
@@ -35,6 +35,29 @@ message SyncEnums {
ACTIONABLE_ERROR = 8; // Client received an actionable error.
}
+ // Types of transitions between pages.
+ enum PageTransition {
+ LINK = 0;
+ TYPED = 1;
+ AUTO_BOOKMARK = 2;
+ AUTO_SUBFRAME = 3;
+ MANUAL_SUBFRAME = 4;
+ GENERATED = 5;
+ START_PAGE = 6;
+ FORM_SUBMIT = 7;
+ RELOAD = 8;
+ KEYWORD = 9;
+ KEYWORD_GENERATED = 10;
+ CHAIN_START = 12;
+ CHAIN_END = 13;
+ }
+
+ // These qualifiers further define the transition.
+ enum PageTransitionQualifier {
+ CLIENT_REDIRECT = 1;
+ SERVER_REDIRECT = 2;
+ }
+
enum ErrorType {
SUCCESS = 0;
ACCESS_DENIED = 1; // Returned when the user doesn't have access to
« no previous file with comments | « sync/protocol/session_specifics.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698