Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / weborigin / SchemeRegistry.h
index 6214220..d303f55 100644 (file)
@@ -81,6 +81,10 @@ public:
     // Serialize the registered schemes in a comma-separated list.
     static String listOfCORSEnabledURLSchemes();
 
+    // "Legacy" schemes (e.g. 'ftp:', 'gopher:') which we might want to treat differently from "webby" schemes.
+    static void registerURLSchemeAsLegacy(const String& scheme);
+    static bool shouldTreatURLSchemeAsLegacy(const String& scheme);
+
     // Allow resources from some schemes to load on a page, regardless of its
     // Content Security Policy.
     static void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme);