summaryrefslogtreecommitdiffstats
path: root/content/public/renderer
diff options
context:
space:
mode:
authorteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-01 19:32:57 +0000
committerteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-01 19:32:57 +0000
commitf2f6418e83b6008902554c0073f070f7c5e1e1d7 (patch)
treead3fecd189aeb9170340083485093bd8ce570e6f /content/public/renderer
parent939c7b6ce5e3c7646081794739eeb163bf7d56ee (diff)
downloadchromium_src-f2f6418e83b6008902554c0073f070f7c5e1e1d7.zip
chromium_src-f2f6418e83b6008902554c0073f070f7c5e1e1d7.tar.gz
chromium_src-f2f6418e83b6008902554c0073f070f7c5e1e1d7.tar.bz2
Pepper: Move FileIO host from renderer to browser.
This change is large because it moves QuotaFileIO and PepperFileIOHost all at once to the browser process. Some code in the refactored PepperFileIOHost is moved from what's provided in FileAPIMessageFilter. Tested locally with Bastion, From Dust, and Angry Bots. TBR=jschuh BUG=246396 Review URL: https://codereview.chromium.org/33053002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232440 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/renderer')
-rw-r--r--content/public/renderer/content_renderer_client.cc5
-rw-r--r--content/public/renderer/content_renderer_client.h6
2 files changed, 0 insertions, 11 deletions
diff --git a/content/public/renderer/content_renderer_client.cc b/content/public/renderer/content_renderer_client.cc
index fbbe343..97cc600 100644
--- a/content/public/renderer/content_renderer_client.cc
+++ b/content/public/renderer/content_renderer_client.cc
@@ -168,11 +168,6 @@ bool ContentRendererClient::IsExternalPepperPlugin(
return false;
}
-bool ContentRendererClient::IsPluginAllowedToCallRequestOSFileHandle(
- WebKit::WebPluginContainer* container) {
- return false;
-}
-
bool ContentRendererClient::AllowBrowserPlugin(
WebKit::WebPluginContainer* container) {
return false;
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
index 86b7e31..e1a9041 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -239,12 +239,6 @@ class CONTENT_EXPORT ContentRendererClient {
// startup steps).
virtual bool IsExternalPepperPlugin(const std::string& module_name);
- // Returns true if plugin living in the container can use
- // pp::FileIO::RequestOSFileHandle.
- // TODO(teravest): Remove this when FileIO is moved to the browser.
- virtual bool IsPluginAllowedToCallRequestOSFileHandle(
- WebKit::WebPluginContainer* container);
-
// Returns whether BrowserPlugin should be allowed within the |container|.
virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container);