Disable flaky test ExtensionActionContextMenuTest.RunInspectPopup
[chromium-blink-merge.git] / sync / internal_api / public / configure_reason.h
blob1eefc72b3bec2d58e5268a0b8d4ad926600189a4
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.
5 #ifndef SYNC_INTERNAL_API_PUBLIC_CONFIGURE_REASON_H_
6 #define SYNC_INTERNAL_API_PUBLIC_CONFIGURE_REASON_H_
8 namespace syncer {
10 // Note: This should confirm with the enums in sync.proto for
11 // GetUpdatesCallerInfo. They will have 1:1 mapping but this will only map
12 // to a subset of the GetUpdatesCallerInfo enum values.
13 enum ConfigureReason {
14 // We should never be here during actual configure. This is for setting
15 // default values.
16 CONFIGURE_REASON_UNKNOWN,
18 // The client is configuring because the user opted to sync a different set
19 // of datatypes.
20 CONFIGURE_REASON_RECONFIGURATION,
22 // The client is configuring because the client is being asked to migrate.
23 CONFIGURE_REASON_MIGRATION,
25 // Setting up sync performs an initial config to download NIGORI data, and
26 // also a config to download initial data once the user selects types.
27 CONFIGURE_REASON_NEW_CLIENT,
29 // A new datatype is enabled for syncing due to a client upgrade.
30 CONFIGURE_REASON_NEWLY_ENABLED_DATA_TYPE,
33 } // namespace syncer
35 #endif // SYNC_INTERNAL_API_PUBLIC_CONFIGURE_REASON_H_