From 152379498a36d2c6e2a56b3e509a7ca588de4f40 Mon Sep 17 00:00:00 2001 From: "ajwong@chromium.org" Date: Sat, 30 Jul 2011 04:24:19 +0000 Subject: PPAPI interface for reading the enterprise policy as a big JSON blob. This includes an implementation that pipes up through PluginDelegate, but stops short of connecting to the actual policy code. BUG=90213 TEST=new unittests + manual testing Review URL: http://codereview.chromium.org/7483019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94824 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/plugins/ppapi/mock_plugin_delegate.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'webkit/plugins/ppapi/mock_plugin_delegate.cc') diff --git a/webkit/plugins/ppapi/mock_plugin_delegate.cc b/webkit/plugins/ppapi/mock_plugin_delegate.cc index 9fe11e6..d5db46fa 100644 --- a/webkit/plugins/ppapi/mock_plugin_delegate.cc +++ b/webkit/plugins/ppapi/mock_plugin_delegate.cc @@ -171,6 +171,9 @@ base::PlatformFileError MockPluginDelegate::GetDirContents( return base::PLATFORM_FILE_ERROR_FAILED; } +void MockPluginDelegate::PublishPolicy(const std::string& policy_json) { +} + scoped_refptr MockPluginDelegate::GetFileThreadMessageLoopProxy() { return scoped_refptr(); @@ -213,6 +216,9 @@ void MockPluginDelegate::ZoomLimitsChanged(double minimum_factor, double maximum_factor) { } +void MockPluginDelegate::SubscribeToPolicyUpdates(PluginInstance* instance) { +} + std::string MockPluginDelegate::ResolveProxy(const GURL& url) { return std::string(); } -- cgit v1.1