summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_frame_npapi.cc
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-02 00:04:28 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-02 00:04:28 +0000
commit0d9d4513509b7185d16861d039c6502c06258409 (patch)
tree6ea65fb75dd42437318b9c302ace957943422adf /chrome_frame/chrome_frame_npapi.cc
parentea38baf5b3a5a8dd0287d61b26502a2c9ffb4661 (diff)
downloadchromium_src-0d9d4513509b7185d16861d039c6502c06258409.zip
chromium_src-0d9d4513509b7185d16861d039c6502c06258409.tar.gz
chromium_src-0d9d4513509b7185d16861d039c6502c06258409.tar.bz2
Fix ChromeFrame Firefox unit test failures. The host network stack implementation for Firefox needs
to ignore streams created as a result of the src attribute for the ChromeFrame plugin. Fixed the signatures of the stream handling functions to return NPError instead of bool as the semantics differ if we return true which equates to NPERR_USER_BREAK. Review URL: http://codereview.chromium.org/561005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37765 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_frame_npapi.cc')
-rw-r--r--chrome_frame/chrome_frame_npapi.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome_frame/chrome_frame_npapi.cc b/chrome_frame/chrome_frame_npapi.cc
index 8f21f93..fe734a8c 100644
--- a/chrome_frame/chrome_frame_npapi.cc
+++ b/chrome_frame/chrome_frame_npapi.cc
@@ -1419,8 +1419,8 @@ bool ChromeFrameNPAPI::HandleContextMenuCommand(UINT cmd,
return false;
}
-bool ChromeFrameNPAPI::NewStream(NPMIMEType type, NPStream* stream,
- NPBool seekable, uint16* stream_type) {
+NPError ChromeFrameNPAPI::NewStream(NPMIMEType type, NPStream* stream,
+ NPBool seekable, uint16* stream_type) {
return url_fetcher_.NewStream(type, stream, seekable, stream_type);
}