drive_pref_names.cc 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // Copyright 2015 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. #include "components/drive/drive_pref_names.h"
  5. namespace drive {
  6. namespace prefs {
  7. // A boolean pref to disable Google Drive integration.
  8. // The pref prefix should remain as "gdata" for backward compatibility.
  9. const char kDisableDrive[] = "gdata.disabled";
  10. // A boolean pref to disable Drive over cellular connections.
  11. // The pref prefix should remain as "gdata" for backward compatibility.
  12. const char kDisableDriveOverCellular[] = "gdata.cellular.disabled";
  13. // A boolean pref to enable or disable verbose logging in DriveFS.
  14. const char kDriveFsEnableVerboseLogging[] = "drivefs.enable_verbose_logging";
  15. // A string pref containing a random salt used to obfuscate account IDs
  16. // when passed to drivefs.
  17. const char kDriveFsProfileSalt[] = "drivefs.profile_salt";
  18. // A boolean pref containing whether pinned files have been migrated to DriveFS.
  19. const char kDriveFsPinnedMigrated[] = "drivefs.pinned_migrated";
  20. // A boolean pref containing whether DriveFS was ever successfully launched.
  21. const char kDriveFsWasLaunchedAtLeastOnce[] =
  22. "drivefs.was_launched_at_least_once";
  23. // A boolean pref toggling MirrorSync functionality.
  24. const char kDriveFsEnableMirrorSync[] = "drivefs.enable_mirror_sync";
  25. // A string pref containing the machine ID that, when set, ensures existing
  26. // MirrorSync Computers roots are reassociated to the current device.
  27. const char kDriveFsMirrorSyncMachineRootId[] =
  28. "drivefs.mirror_sync_machine_root_id";
  29. } // namespace prefs
  30. } // namespace drive