Allowing registering arbitrary schemes as supporting the fetch API.

Currently it's only exposed to the HTTP family, but now that Chrome
extensions support service workers they need to support the fetch API.
This patch adds registerURLSchemeAsSupportingFetchAPI to the Blink API,
queried by the fetch API code as shouldTreatURLSchemeAsSupportingFetchAPI.

BUG=466876
R=yhirano@chromium.org, dcheng@chromium.org, pdr@chromium.org

Review URL: https://codereview.chromium.org/1313733006

git-svn-id: svn://svn.chromium.org/blink/trunk/public@201492 bbb929c8-8fbe-4397-9dbb-9b2b20218538
1 file changed