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

Side by Side Diff: sync/protocol/sync_enums.proto

Issue 1505953002: [Sync] Remove ScopedServerStatusWatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change format of deprecated names. Created 5 years 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 unified diff | Download patch
« no previous file with comments | « sync/protocol/proto_enum_conversions.cc ('k') | sync/test/engine/mock_connection_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 } 70 }
71 71
72 // Types of redirects that triggered a transition. 72 // Types of redirects that triggered a transition.
73 enum PageTransitionRedirectType { 73 enum PageTransitionRedirectType {
74 CLIENT_REDIRECT = 1; 74 CLIENT_REDIRECT = 1;
75 SERVER_REDIRECT = 2; 75 SERVER_REDIRECT = 2;
76 } 76 }
77 77
78 enum ErrorType { 78 enum ErrorType {
79 SUCCESS = 0; 79 SUCCESS = 0;
80 ACCESS_DENIED = 1; // Returned when the user doesn't have access to 80 DEPRECATED_ACCESS_DENIED = 1;
81 // store (instead of HTTP 401).
82 NOT_MY_BIRTHDAY = 2; // Returned when the server and client disagree 81 NOT_MY_BIRTHDAY = 2; // Returned when the server and client disagree
83 // on the store birthday. 82 // on the store birthday.
84 THROTTLED = 3; // Returned when the store has exceeded the 83 THROTTLED = 3; // Returned when the store has exceeded the
85 // allowed bandwidth utilization. 84 // allowed bandwidth utilization.
86 AUTH_EXPIRED = 4; // Auth token or cookie has expired. 85 DEPRECATED_AUTH_EXPIRED = 4;
87 USER_NOT_ACTIVATED = 5; // User doesn't have the Chrome bit set on that 86 DEPRECATED_USER_NOT_ACTIVATED = 5;
88 // Google Account. 87 DEPRECATED_AUTH_INVALID = 6;
89 AUTH_INVALID = 6; // Auth token or cookie is otherwise invalid.
90 CLEAR_PENDING = 7; // A clear of the user data is pending (e.g. 88 CLEAR_PENDING = 7; // A clear of the user data is pending (e.g.
91 // initiated by privacy request). Client should 89 // initiated by privacy request). Client should
92 // come back later. 90 // come back later.
93 TRANSIENT_ERROR = 8; // A transient error occured (eg. backend 91 TRANSIENT_ERROR = 8; // A transient error occured (eg. backend
94 // timeout). Client should try again later. 92 // timeout). Client should try again later.
95 MIGRATION_DONE = 9; // Migration has finished for one or more data 93 MIGRATION_DONE = 9; // Migration has finished for one or more data
96 // types. Client should clear the cache for 94 // types. Client should clear the cache for
97 // these data types only and then re-sync with 95 // these data types only and then re-sync with
98 // a server. 96 // a server.
99 DISABLED_BY_ADMIN = 10; // An administrator disabled sync for this 97 DISABLED_BY_ADMIN = 10; // An administrator disabled sync for this
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 // user opted to sync a different set of datatypes. 158 // user opted to sync a different set of datatypes.
161 GU_TRIGGER = 12; // The client is in 'normal' mode. It may have several 159 GU_TRIGGER = 12; // The client is in 'normal' mode. It may have several
162 // reasons for requesting an update. See the per-type 160 // reasons for requesting an update. See the per-type
163 // GetUpdateTriggers message for more details. 161 // GetUpdateTriggers message for more details.
164 RETRY = 13; // A retry GU to pick up updates missed by last GU due to 162 RETRY = 13; // A retry GU to pick up updates missed by last GU due to
165 // replication delay, missing hints, etc. 163 // replication delay, missing hints, etc.
166 PROGRAMMATIC = 14; // A GU to programmatically enable/disable a 164 PROGRAMMATIC = 14; // A GU to programmatically enable/disable a
167 // datatype, often due to error handling. 165 // datatype, often due to error handling.
168 } 166 }
169 } 167 }
OLDNEW
« no previous file with comments | « sync/protocol/proto_enum_conversions.cc ('k') | sync/test/engine/mock_connection_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698