Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Unified Diff: trunk/src/chrome/renderer/chrome_content_renderer_client.h

Issue 60323002: Revert 232547 "Pepper: Move FileIO host from renderer to browser." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/chrome/renderer/chrome_content_renderer_client.h
===================================================================
--- trunk/src/chrome/renderer/chrome_content_renderer_client.h (revision 233010)
+++ trunk/src/chrome/renderer/chrome_content_renderer_client.h (working copy)
@@ -133,6 +133,10 @@
virtual const void* CreatePPAPIInterface(
const std::string& interface_name) OVERRIDE;
virtual bool IsExternalPepperPlugin(const std::string& module_name) OVERRIDE;
+ // TODO(victorhsieh): move to ChromeContentBrowserClient once we migrate
+ // PPAPI FileIO host to browser.
+ virtual bool IsPluginAllowedToCallRequestOSFileHandle(
+ WebKit::WebPluginContainer* container) OVERRIDE;
virtual WebKit::WebSpeechSynthesizer* OverrideSpeechSynthesizer(
WebKit::WebSpeechSynthesizerClient* client) OVERRIDE;
virtual bool ShouldReportDetailedMessageForSource(
@@ -217,6 +221,10 @@
scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_;
#endif
scoped_ptr<SearchBouncer> search_bouncer_;
+
+#if defined(ENABLE_PLUGINS)
+ std::set<std::string> allowed_file_handle_origins_;
+#endif
};
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698