aw_paths.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. // Copyright 2017 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 ANDROID_WEBVIEW_COMMON_AW_PATHS_H__
  5. #define ANDROID_WEBVIEW_COMMON_AW_PATHS_H__
  6. // This file declares path keys for webview. These can be used with
  7. // the PathService to access various special directories and files.
  8. namespace android_webview {
  9. enum {
  10. PATH_START = 11000,
  11. DIR_CRASH_DUMPS = PATH_START, // Directory where crash dumps are written.
  12. DIR_COMPONENTS_ROOT, // Directory where components installed via component
  13. // updater.
  14. DIR_COMPONENTS_TEMP, // Directory where temporary copies of components are
  15. // made.
  16. DIR_SAFE_BROWSING, // Directory where safe browsing related cookies are
  17. // stored.
  18. PATH_END
  19. };
  20. // Call once to register the provider for the path keys defined above.
  21. void RegisterPathProvider();
  22. } // namespace android_webview
  23. #endif // ANDROID_WEBVIEW_COMMON_AW_PATHS_H__