summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/mock_plugin_delegate.cc
diff options
context:
space:
mode:
authorajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-30 04:24:19 +0000
committerajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-30 04:24:19 +0000
commit152379498a36d2c6e2a56b3e509a7ca588de4f40 (patch)
treee3850c3683a3ded2907f2d8bac7533dbf907b84d /webkit/plugins/ppapi/mock_plugin_delegate.cc
parent64b66889137bd35e1b8bb5151143362c4403623a (diff)
downloadchromium_src-152379498a36d2c6e2a56b3e509a7ca588de4f40.zip
chromium_src-152379498a36d2c6e2a56b3e509a7ca588de4f40.tar.gz
chromium_src-152379498a36d2c6e2a56b3e509a7ca588de4f40.tar.bz2
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
Diffstat (limited to 'webkit/plugins/ppapi/mock_plugin_delegate.cc')
-rw-r--r--webkit/plugins/ppapi/mock_plugin_delegate.cc6
1 files changed, 6 insertions, 0 deletions
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<base::MessageLoopProxy>
MockPluginDelegate::GetFileThreadMessageLoopProxy() {
return scoped_refptr<base::MessageLoopProxy>();
@@ -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();
}