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

Unified Diff: components/sync_driver/user_selectable_sync_type.h

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/user_selectable_sync_type.h
diff --git a/components/sync_driver/user_selectable_sync_type.h b/components/sync_driver/user_selectable_sync_type.h
deleted file mode 100644
index ead0a537956f29d524319205ee101d4e832f3569..0000000000000000000000000000000000000000
--- a/components/sync_driver/user_selectable_sync_type.h
+++ /dev/null
@@ -1,69 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_SYNC_DRIVER_USER_SELECTABLE_SYNC_TYPE_H_
-#define COMPONENTS_SYNC_DRIVER_USER_SELECTABLE_SYNC_TYPE_H_
-
-namespace sync_driver {
-namespace user_selectable_type {
-
-// An enumeration of the sync datatypes that are explicitly exposed to the user
-// via checkboxes in the "Advanced Sync Preferences" dialog. Used solely for the
-// purposes of UMA histogram logging of the datatypes explicitly selected by
-// users when sync is configured on a machine. This is a subset of the sync
-// types listed in sync/base/model_type.h.
-//
-// Note: New sync datatypes must be added to the end of this list. Adding them
-// anywhere else will result in incorrect histogram logging.
-
-// THIS ENUM IS MEANT SOLELY FOR THE PURPOSE OF HISTOGRAM LOGGING. IF YOU ARE
-// LOOKING TO MODIFY SYNC FUNCTIONALITY AND NEED A LIST OF SYNC TYPES, USE
-// syncer::ModelType.
-
-enum UserSelectableSyncType {
- BOOKMARKS = 0,
- PREFERENCES = 1,
- PASSWORDS = 2,
- AUTOFILL = 3,
- THEMES = 4,
- TYPED_URLS = 5,
- EXTENSIONS = 6,
- PROXY_TABS = 7,
- APPS = 8,
- // TODO(petewil): There was talk of removing this from user selectable sync
- // types. Should we?
- SYNCED_NOTIFICATIONS = 9,
- WIFI_CREDENTIAL = 10,
-
- // The datatypes below are implicitly synced, and are not exposed via user
- // selectable checkboxes.
- // TODO(lgcheng) ARC_PACKAGE would be selectable.
-
- // AUTOFILL_PROFILE,
- // NIGORI,
- // DICTIONARY
- // SEARCH_ENGINES,
- // APP_LIST,
- // APP_SETTINGS,
- // EXTENSION_SETTINGS,
- // APP_NOTIFICATIONS,
- // DEVICE_INFO,
- // EXPERIMENTS,
- // PRIORITY_PREFERENCES,
- // SESSIONS,
- // HISTORY_DELETE_DIRECTIVES,
- // FAVICON_IMAGES,
- // FAVICON_TRACKING,
- // ARTICLE,
- // SYNCED_NOTIFICATION_APP_INFO,
- // ARC_PACKAGE
-
- // Number of sync datatypes exposed to the user via checboxes in the UI.
- SELECTABLE_DATATYPE_COUNT = 11,
-};
-
-} // namespace user_selectable_type
-} // namespace sync_driver
-
-#endif // COMPONENTS_SYNC_DRIVER_USER_SELECTABLE_SYNC_TYPE_H_
« 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