| Index: Source/WebCore/platform/SchemeRegistry.cpp
|
| diff --git a/Source/WebCore/platform/SchemeRegistry.cpp b/Source/WebCore/platform/SchemeRegistry.cpp
|
| index dea59eee40c452b1b5ff6cf424ca71a48e2b7d11..738ad89b596dd20d8e48c527485ec76b26720eb5 100644
|
| --- a/Source/WebCore/platform/SchemeRegistry.cpp
|
| +++ b/Source/WebCore/platform/SchemeRegistry.cpp
|
| @@ -125,18 +125,6 @@ const URLSchemesMap& SchemeRegistry::localSchemes()
|
| return localURLSchemes();
|
| }
|
|
|
| -static URLSchemesMap& schemesAllowingLocalStorageAccessInPrivateBrowsing()
|
| -{
|
| - DEFINE_STATIC_LOCAL(URLSchemesMap, schemesAllowingLocalStorageAccessInPrivateBrowsing, ());
|
| - return schemesAllowingLocalStorageAccessInPrivateBrowsing;
|
| -}
|
| -
|
| -static URLSchemesMap& schemesAllowingDatabaseAccessInPrivateBrowsing()
|
| -{
|
| - DEFINE_STATIC_LOCAL(URLSchemesMap, schemesAllowingDatabaseAccessInPrivateBrowsing, ());
|
| - return schemesAllowingDatabaseAccessInPrivateBrowsing;
|
| -}
|
| -
|
| static URLSchemesMap& CORSEnabledSchemes()
|
| {
|
| // FIXME: http://bugs.webkit.org/show_bug.cgi?id=77160
|
| @@ -253,30 +241,6 @@ bool SchemeRegistry::shouldTreatURLSchemeAsNotAllowingJavascriptURLs(const Strin
|
| return notAllowingJavascriptURLsSchemes().contains(scheme);
|
| }
|
|
|
| -void SchemeRegistry::registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing(const String& scheme)
|
| -{
|
| - schemesAllowingLocalStorageAccessInPrivateBrowsing().add(scheme);
|
| -}
|
| -
|
| -bool SchemeRegistry::allowsLocalStorageAccessInPrivateBrowsing(const String& scheme)
|
| -{
|
| - if (scheme.isEmpty())
|
| - return false;
|
| - return schemesAllowingLocalStorageAccessInPrivateBrowsing().contains(scheme);
|
| -}
|
| -
|
| -void SchemeRegistry::registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing(const String& scheme)
|
| -{
|
| - schemesAllowingDatabaseAccessInPrivateBrowsing().add(scheme);
|
| -}
|
| -
|
| -bool SchemeRegistry::allowsDatabaseAccessInPrivateBrowsing(const String& scheme)
|
| -{
|
| - if (scheme.isEmpty())
|
| - return false;
|
| - return schemesAllowingDatabaseAccessInPrivateBrowsing().contains(scheme);
|
| -}
|
| -
|
| void SchemeRegistry::registerURLSchemeAsCORSEnabled(const String& scheme)
|
| {
|
| CORSEnabledSchemes().add(scheme);
|
|
|