summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/plugin_delegate.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-18 01:50:31 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-18 01:50:31 +0000
commit9ca245e3b2d0e2271c7124d3aceb8179903718e2 (patch)
treeaa5fdbad23bd9a91cb117c1610064242d8a00985 /webkit/plugins/ppapi/plugin_delegate.h
parenta2f013ebcd62eae5238ca4ee84b9d21e34197fd8 (diff)
downloadchromium_src-9ca245e3b2d0e2271c7124d3aceb8179903718e2.zip
chromium_src-9ca245e3b2d0e2271c7124d3aceb8179903718e2.tar.gz
chromium_src-9ca245e3b2d0e2271c7124d3aceb8179903718e2.tar.bz2
Implement a proxy for URL util. Some of the implementation that doesn't need to
be proxied moved into a new shared_impl file, which required a decent amount of glue to make it callable from both the implementation and the proxy. The payoff here is only marginal since the code is fairly simple, but I decided this is still better than duplication. This also includes some comments from my audio patch that I forgot in that CL. BUG=none TEST=ppapi_tests run out of process pass Review URL: http://codereview.chromium.org/6676045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78646 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/plugin_delegate.h')
-rw-r--r--webkit/plugins/ppapi/plugin_delegate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
index f8185cf..1effed1 100644
--- a/webkit/plugins/ppapi/plugin_delegate.h
+++ b/webkit/plugins/ppapi/plugin_delegate.h
@@ -226,7 +226,8 @@ class PluginDelegate {
virtual PlatformVideoDecoder* CreateVideoDecoder(
const PP_VideoDecoderConfig_Dev& decoder_config) = 0;
- // The caller will own the pointer returned from this.
+ // The caller is responsible for calling Shutdown() on the returned pointer
+ // to clean up the corresponding resources allocated during this call.
virtual PlatformAudio* CreateAudio(uint32_t sample_rate,
uint32_t sample_count,
PlatformAudio::Client* client) = 0;