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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 syntax = "proto2";
6
7 option optimize_for = LITE_RUNTIME;
8 option retain_unknown_fields = true;
9
10 package sync_pb;
11
12 message GetUpdatesCallerInfo {
13 // This message was deprecated in M28. The preferred represenation of this
14 // information is now the GetUpdatesOrigin enum, which is defined in
15 // sync_enums.proto.
16 enum GetUpdatesSource {
17 UNKNOWN = 0; // The source was not set by the caller.
18 FIRST_UPDATE = 1; // First request after browser restart. Not to
19 // be confused with "NEW_CLIENT".
20 LOCAL = 2; // The source of the update was a local change.
21 NOTIFICATION = 3; // The source of the update was a p2p notification.
22 PERIODIC = 4; // The source of the update was periodic polling.
23 SYNC_CYCLE_CONTINUATION = 5; // The source of the update was a
24 // continuation of a previous sync cycle.
25 // No longer sent as of M24.
26
27 // This value is deprecated and was never used in production.
28 // CLEAR_PRIVATE_DATA = 6;
29
30 NEWLY_SUPPORTED_DATATYPE = 7; // The client is in configuration mode
31 // because it's syncing all datatypes, and
32 // support for a new datatype was recently
33 // released via a software auto-update.
34 MIGRATION = 8; // The client is in configuration mode because a
35 // MIGRATION_DONE error previously returned by the
36 // server necessitated resynchronization.
37 NEW_CLIENT = 9; // The client is in configuration mode because the
38 // user enabled sync for the first time. Not to be
39 // confused with FIRST_UPDATE.
40 RECONFIGURATION = 10; // The client is in configuration mode because the
41 // user opted to sync a different set of datatypes.
42 DATATYPE_REFRESH = 11; // A datatype has requested a refresh. This is
43 // typically used when datatype's have custom
44 // sync UI, e.g. sessions.
45 RETRY = 13; // A follow-up GU to pick up updates missed by previous GU.
46 PROGRAMMATIC = 14; // The client is programmatically enabling/disabling
47 // a type, typically for error handling purposes.
48 }
49
50 required GetUpdatesSource source = 1;
51
52 // True only if notifications were enabled for this GetUpdateMessage.
53 optional bool notifications_enabled = 2;
54 };
55
OLDNEW
« no previous file with comments | « sync/protocol/favicon_tracking_specifics.proto ('k') | sync/protocol/history_delete_directive_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698