removable_device_constants.h 925 B

123456789101112131415161718192021222324252627282930
  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
  3. // found in the LICENSE file.
  4. #ifndef COMPONENTS_STORAGE_MONITOR_REMOVABLE_DEVICE_CONSTANTS_H_
  5. #define COMPONENTS_STORAGE_MONITOR_REMOVABLE_DEVICE_CONSTANTS_H_
  6. #include "base/files/file_path.h"
  7. #include "build/build_config.h"
  8. namespace storage_monitor {
  9. // Prefix constants used in device unique id.
  10. extern const char kFSUniqueIdPrefix[];
  11. extern const char kVendorModelSerialPrefix[];
  12. #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
  13. extern const char kVendorModelVolumeStoragePrefix[];
  14. #endif
  15. #if BUILDFLAG(IS_WIN)
  16. // Windows portable device interface GUID constant.
  17. extern const wchar_t kWPDDevInterfaceGUID[];
  18. #endif
  19. extern const base::FilePath::CharType kDCIMDirectoryName[];
  20. } // namespace storage_monitor
  21. #endif // COMPONENTS_STORAGE_MONITOR_REMOVABLE_DEVICE_CONSTANTS_H_