| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 // | 4 // |
| 5 // Sync protocol for communication between sync client and server. | 5 // Sync protocol for communication between sync client and server. |
| 6 | 6 |
| 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change | 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change |
| 8 // any fields in this file. | 8 // any fields in this file. |
| 9 | 9 |
| 10 syntax = "proto2"; | 10 syntax = "proto2"; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 } | 36 } |
| 37 | 37 |
| 38 // Types of transitions between pages. | 38 // Types of transitions between pages. |
| 39 enum PageTransition { | 39 enum PageTransition { |
| 40 LINK = 0; | 40 LINK = 0; |
| 41 TYPED = 1; | 41 TYPED = 1; |
| 42 AUTO_BOOKMARK = 2; | 42 AUTO_BOOKMARK = 2; |
| 43 AUTO_SUBFRAME = 3; | 43 AUTO_SUBFRAME = 3; |
| 44 MANUAL_SUBFRAME = 4; | 44 MANUAL_SUBFRAME = 4; |
| 45 GENERATED = 5; | 45 GENERATED = 5; |
| 46 START_PAGE = 6; | 46 AUTO_TOPLEVEL = 6; |
| 47 FORM_SUBMIT = 7; | 47 FORM_SUBMIT = 7; |
| 48 RELOAD = 8; | 48 RELOAD = 8; |
| 49 KEYWORD = 9; | 49 KEYWORD = 9; |
| 50 KEYWORD_GENERATED = 10; | 50 KEYWORD_GENERATED = 10; |
| 51 CHAIN_START = 12; | 51 CHAIN_START = 12; |
| 52 CHAIN_END = 13; | 52 CHAIN_END = 13; |
| 53 } | 53 } |
| 54 | 54 |
| 55 // These qualifiers further define the transition. | 55 // These qualifiers further define the transition. |
| 56 enum PageTransitionQualifier { | 56 enum PageTransitionQualifier { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 CLEAR_USER_DATA_AND_RESYNC = 1; // Clear user data from dashboard and | 90 CLEAR_USER_DATA_AND_RESYNC = 1; // Clear user data from dashboard and |
| 91 // setup sync again. | 91 // setup sync again. |
| 92 ENABLE_SYNC_ON_ACCOUNT = 2; // The administrator needs to enable sync | 92 ENABLE_SYNC_ON_ACCOUNT = 2; // The administrator needs to enable sync |
| 93 // on the account. | 93 // on the account. |
| 94 STOP_AND_RESTART_SYNC = 3; // Stop sync and set up sync again. | 94 STOP_AND_RESTART_SYNC = 3; // Stop sync and set up sync again. |
| 95 DISABLE_SYNC_ON_CLIENT = 4; // Wipe the client of all sync data and | 95 DISABLE_SYNC_ON_CLIENT = 4; // Wipe the client of all sync data and |
| 96 // stop syncing. | 96 // stop syncing. |
| 97 UNKNOWN_ACTION = 5; // This is the default. | 97 UNKNOWN_ACTION = 5; // This is the default. |
| 98 } | 98 } |
| 99 } | 99 } |
| OLD | NEW |