OLD | NEW |
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 browser_sync { | 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/internal_api/public/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. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 // FAVICON_IMAGES, | 54 // FAVICON_IMAGES, |
55 // FAVICON_TRACKING, | 55 // FAVICON_TRACKING, |
56 // ARTICLE, | 56 // ARTICLE, |
57 // SYNCED_NOTIFICATION_APP_INFO | 57 // SYNCED_NOTIFICATION_APP_INFO |
58 | 58 |
59 // Number of sync datatypes exposed to the user via checboxes in the UI. | 59 // Number of sync datatypes exposed to the user via checboxes in the UI. |
60 SELECTABLE_DATATYPE_COUNT = 10, | 60 SELECTABLE_DATATYPE_COUNT = 10, |
61 }; | 61 }; |
62 | 62 |
63 } // namespace user_selectable_type | 63 } // namespace user_selectable_type |
64 } // namespace browser_sync | 64 } // namespace sync_driver |
65 | 65 |
66 #endif // COMPONENTS_SYNC_DRIVER_USER_SELECTABLE_SYNC_TYPE_H_ | 66 #endif // COMPONENTS_SYNC_DRIVER_USER_SELECTABLE_SYNC_TYPE_H_ |
OLD | NEW |