summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_frame_npapi.h
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.h
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.h')
-rw-r--r--chrome_frame/chrome_frame_npapi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome_frame/chrome_frame_npapi.h b/chrome_frame/chrome_frame_npapi.h
index c5e17cb..6ba130e 100644
--- a/chrome_frame/chrome_frame_npapi.h
+++ b/chrome_frame/chrome_frame_npapi.h
@@ -63,8 +63,8 @@ class ChromeFrameNPAPI
bool SetWindow(NPWindow* window_info);
void UrlNotify(const char* url, NPReason reason, void* notify_data);
- bool NewStream(NPMIMEType type, NPStream* stream, NPBool seekable,
- uint16* stream_type);
+ NPError NewStream(NPMIMEType type, NPStream* stream, NPBool seekable,
+ uint16* stream_type);
int32 WriteReady(NPStream* stream);
int32 Write(NPStream* stream, int32 offset, int32 len, void* buffer);
NPError DestroyStream(NPStream* stream, NPReason reason);