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/internal_api/public/configure_reason.h

Issue 266883007: Add a reason for configuring DTM for backup/rollback. In backup/rollback, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dtm test Created 6 years, 7 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 | « chrome/browser/sync/glue/data_type_manager_impl_unittest.cc ('k') | no next file » | 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 #ifndef SYNC_INTERNAL_API_PUBLIC_CONFIGURE_REASON_H_ 5 #ifndef SYNC_INTERNAL_API_PUBLIC_CONFIGURE_REASON_H_
6 #define SYNC_INTERNAL_API_PUBLIC_CONFIGURE_REASON_H_ 6 #define SYNC_INTERNAL_API_PUBLIC_CONFIGURE_REASON_H_
7 7
8 namespace syncer { 8 namespace syncer {
9 9
10 // Note: This should confirm with the enums in sync.proto for 10 // Note: This should confirm with the enums in sync.proto for
(...skipping 14 matching lines...) Expand all
25 // Setting up sync performs an initial config to download NIGORI data, and 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. 26 // also a config to download initial data once the user selects types.
27 CONFIGURE_REASON_NEW_CLIENT, 27 CONFIGURE_REASON_NEW_CLIENT,
28 28
29 // A new datatype is enabled for syncing due to a client upgrade. 29 // A new datatype is enabled for syncing due to a client upgrade.
30 CONFIGURE_REASON_NEWLY_ENABLED_DATA_TYPE, 30 CONFIGURE_REASON_NEWLY_ENABLED_DATA_TYPE,
31 31
32 // A configuration due to enabling or disabling encrypted types due to 32 // A configuration due to enabling or disabling encrypted types due to
33 // cryptographer errors/resolutions. 33 // cryptographer errors/resolutions.
34 CONFIGURE_REASON_CRYPTO, 34 CONFIGURE_REASON_CRYPTO,
35
36 // Configure data types for backup/rollback.
37 CONFIGURE_REASON_BACKUP_ROLLBACK,
35 }; 38 };
36 39
37 } // namespace syncer 40 } // namespace syncer
38 41
39 #endif // SYNC_INTERNAL_API_PUBLIC_CONFIGURE_REASON_H_ 42 #endif // SYNC_INTERNAL_API_PUBLIC_CONFIGURE_REASON_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/data_type_manager_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698