This patch enables "Save page as" (ctrl+s) for resources located at
chrome-extension URLs. In the absence of any API for doing file I/O this adds
very useful functionality to chrome extensions. This patch is needed to allow
APU to save its instrumentation data to disk without the need for a plugin.

patch by: Jaime Yap ([email protected])

BUG=none
TEST=Bundle a page "foo.html" with an extension. Usings the tabs API or
     window.open, open "foo.html" in the extensions process. Try to save it
     using CTRL+S. (You can test with any of the existing samples that bundle
     a page).

Review URL: http://codereview.chromium.org/266051

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28839 0039d316-1c4b-4281-b951-d872f2087c98
7 files changed