allowed_paths.js 455 B

123456789101112131415
  1. // Copyright 2021 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. // TODO(b/199452030): Fix duplication with volume_manager_types.js
  5. /**
  6. * Paths that can be handled by the dialog opener in native code.
  7. * @enum {string}
  8. * @const
  9. */
  10. export const AllowedPaths = {
  11. NATIVE_PATH: 'nativePath',
  12. ANY_PATH: 'anyPath',
  13. ANY_PATH_OR_URL: 'anyPathOrUrl',
  14. };