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

Side by Side Diff: components/sync_driver/user_selectable_sync_type.h

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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_SYNC_DRIVER_USER_SELECTABLE_SYNC_TYPE_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_USER_SELECTABLE_SYNC_TYPE_H_
6 #define COMPONENTS_SYNC_DRIVER_USER_SELECTABLE_SYNC_TYPE_H_ 6 #define COMPONENTS_SYNC_DRIVER_USER_SELECTABLE_SYNC_TYPE_H_
7 7
8 namespace sync_driver { 8 namespace sync_driver {
9 namespace user_selectable_type { 9 namespace user_selectable_type {
10 10
11 // An enumeration of the sync datatypes that are explicitly exposed to the user 11 // An enumeration of the sync datatypes that are explicitly exposed to the user
12 // via checkboxes in the "Advanced Sync Preferences" dialog. Used solely for the 12 // via checkboxes in the "Advanced Sync Preferences" dialog. Used solely for the
13 // purposes of UMA histogram logging of the datatypes explicitly selected by 13 // purposes of UMA histogram logging of the datatypes explicitly selected by
14 // users when sync is configured on a machine. This is a subset of the sync 14 // users when sync is configured on a machine. This is a subset of the sync
15 // types listed in sync/internal_api/public/base/model_type.h. 15 // types listed in sync/base/model_type.h.
16 // 16 //
17 // Note: New sync datatypes must be added to the end of this list. Adding them 17 // Note: New sync datatypes must be added to the end of this list. Adding them
18 // anywhere else will result in incorrect histogram logging. 18 // anywhere else will result in incorrect histogram logging.
19 19
20 // THIS ENUM IS MEANT SOLELY FOR THE PURPOSE OF HISTOGRAM LOGGING. IF YOU ARE 20 // THIS ENUM IS MEANT SOLELY FOR THE PURPOSE OF HISTOGRAM LOGGING. IF YOU ARE
21 // LOOKING TO MODIFY SYNC FUNCTIONALITY AND NEED A LIST OF SYNC TYPES, USE 21 // LOOKING TO MODIFY SYNC FUNCTIONALITY AND NEED A LIST OF SYNC TYPES, USE
22 // syncer::ModelType. 22 // syncer::ModelType.
23 23
24 enum UserSelectableSyncType { 24 enum UserSelectableSyncType {
25 BOOKMARKS = 0, 25 BOOKMARKS = 0,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // ARC_PACKAGE 60 // ARC_PACKAGE
61 61
62 // Number of sync datatypes exposed to the user via checboxes in the UI. 62 // Number of sync datatypes exposed to the user via checboxes in the UI.
63 SELECTABLE_DATATYPE_COUNT = 11, 63 SELECTABLE_DATATYPE_COUNT = 11,
64 }; 64 };
65 65
66 } // namespace user_selectable_type 66 } // namespace user_selectable_type
67 } // namespace sync_driver 67 } // namespace sync_driver
68 68
69 #endif // COMPONENTS_SYNC_DRIVER_USER_SELECTABLE_SYNC_TYPE_H_ 69 #endif // COMPONENTS_SYNC_DRIVER_USER_SELECTABLE_SYNC_TYPE_H_
OLDNEW
« no previous file with comments | « components/sync_driver/ui_model_type_controller_unittest.cc ('k') | components/sync_sessions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698