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

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

Issue 10584019: sync: Remove ClearUserData command. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/internal_api/syncapi_unittest.cc ('k') | sync/protocol/proto_enum_conversions.cc » ('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 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
8 option retain_unknown_fields = true; 8 option retain_unknown_fields = true;
9 9
10 package sync_pb; 10 package sync_pb;
11 11
12 message GetUpdatesCallerInfo { 12 message GetUpdatesCallerInfo {
13 enum GetUpdatesSource { 13 enum GetUpdatesSource {
14 UNKNOWN = 0; // The source was not set by the caller. 14 UNKNOWN = 0; // The source was not set by the caller.
15 FIRST_UPDATE = 1; // First request after browser restart. Not to 15 FIRST_UPDATE = 1; // First request after browser restart. Not to
16 // be confused with "NEW_CLIENT". 16 // be confused with "NEW_CLIENT".
17 LOCAL = 2; // The source of the update was a local change. 17 LOCAL = 2; // The source of the update was a local change.
18 NOTIFICATION = 3; // The source of the update was a p2p notification. 18 NOTIFICATION = 3; // The source of the update was a p2p notification.
19 PERIODIC = 4; // The source of the update was periodic polling. 19 PERIODIC = 4; // The source of the update was periodic polling.
20 SYNC_CYCLE_CONTINUATION = 5; // The source of the update was a 20 SYNC_CYCLE_CONTINUATION = 5; // The source of the update was a
21 // continuation of a previous update. 21 // continuation of a previous update.
22 CLEAR_PRIVATE_DATA = 6; // Source is a call to remove all private data 22
23 // This value is deprecated and was never used in production.
24 // CLEAR_PRIVATE_DATA = 6;
25
23 NEWLY_SUPPORTED_DATATYPE = 7; // The client is in configuration mode 26 NEWLY_SUPPORTED_DATATYPE = 7; // The client is in configuration mode
24 // because it's syncing all datatypes, and 27 // because it's syncing all datatypes, and
25 // support for a new datatype was recently 28 // support for a new datatype was recently
26 // released via a software auto-update. 29 // released via a software auto-update.
27 MIGRATION = 8; // The client is in configuration mode because a 30 MIGRATION = 8; // The client is in configuration mode because a
28 // MIGRATION_DONE error previously returned by the 31 // MIGRATION_DONE error previously returned by the
29 // server necessitated resynchronization. 32 // server necessitated resynchronization.
30 NEW_CLIENT = 9; // The client is in configuration mode because the 33 NEW_CLIENT = 9; // The client is in configuration mode because the
31 // user enabled sync for the first time. Not to be 34 // user enabled sync for the first time. Not to be
32 // confused with FIRST_UPDATE. 35 // confused with FIRST_UPDATE.
33 RECONFIGURATION = 10; // The client is in configuration mode because the 36 RECONFIGURATION = 10; // The client is in configuration mode because the
34 // user opted to sync a different set of datatypes. 37 // user opted to sync a different set of datatypes.
35 DATATYPE_REFRESH = 11; // A datatype has requested a refresh. This is 38 DATATYPE_REFRESH = 11; // A datatype has requested a refresh. This is
36 // typically used when datatype's have custom 39 // typically used when datatype's have custom
37 // sync UI, e.g. sessions. 40 // sync UI, e.g. sessions.
38 } 41 }
39 42
40 required GetUpdatesSource source = 1; 43 required GetUpdatesSource source = 1;
41 44
42 // True only if notifications were enabled for this GetUpdateMessage. 45 // True only if notifications were enabled for this GetUpdateMessage.
43 optional bool notifications_enabled = 2; 46 optional bool notifications_enabled = 2;
44 }; 47 };
45 48
OLDNEW
« no previous file with comments | « sync/internal_api/syncapi_unittest.cc ('k') | sync/protocol/proto_enum_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698