url_constants.h 754 B

123456789101112131415161718192021222324
  1. // Copyright (c) 2012 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. // Contains constants for known URLs and portions thereof.
  5. #ifndef ANDROID_WEBVIEW_COMMON_URL_CONSTANTS_H_
  6. #define ANDROID_WEBVIEW_COMMON_URL_CONSTANTS_H_
  7. #include "url/gurl.h"
  8. namespace android_webview {
  9. // Special Android file paths.
  10. extern const char kAndroidAssetPath[];
  11. extern const char kAndroidResourcePath[];
  12. // Returns whether the given URL is for loading a file from a special path.
  13. bool IsAndroidSpecialFileUrl(const GURL& url);
  14. extern const char kAndroidWebViewVideoPosterScheme[];
  15. } // namespace android_webview
  16. #endif // ANDROID_WEBVIEW_COMMON_URL_CONSTANTS_H_