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

Side by Side Diff: chrome/browser/sync/internal_api/configure_reason.h

Issue 10147003: [Sync] Move 'syncapi_core' and 'sync_unit_tests' targets to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Win update errors Created 8 years, 8 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
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_SYNC_INTERNAL_API_CONFIGURE_REASON_H_
6 #define CHROME_BROWSER_SYNC_INTERNAL_API_CONFIGURE_REASON_H_
7 #pragma once
8
9 namespace sync_api {
10
11 // Note: This should confirm with the enums in sync.proto for
12 // GetUpdatesCallerInfo. They will have 1:1 mapping but this will only map
13 // to a subset of the GetUpdatesCallerInfo enum values.
14 enum ConfigureReason {
15 // We should never be here during actual configure. This is for setting
16 // default values.
17 CONFIGURE_REASON_UNKNOWN,
18
19 // The client is configuring because the user opted to sync a different set
20 // of datatypes.
21 CONFIGURE_REASON_RECONFIGURATION,
22
23 // The client is configuring because the client is being asked to migrate.
24 CONFIGURE_REASON_MIGRATION,
25
26 // Setting up sync performs an initial config to download NIGORI data, and
27 // also a config to download initial data once the user selects types.
28 CONFIGURE_REASON_NEW_CLIENT,
29
30 // A new datatype is enabled for syncing due to a client upgrade.
31 CONFIGURE_REASON_NEWLY_ENABLED_DATA_TYPE,
32 };
33
34 } // namespace sync_api
35
36 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_CONFIGURE_REASON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698