summaryrefslogtreecommitdiffstats
path: root/chrome_frame/urlmon_bind_status_callback.h
diff options
context:
space:
mode:
authoramit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-14 22:37:40 +0000
committeramit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-14 22:37:40 +0000
commit37a3a4bf36aa3a07ed4982c815d427141b2aa9f8 (patch)
tree57a36ec7d0dc9303bcb08d7bc0d329dda0bd0fc2 /chrome_frame/urlmon_bind_status_callback.h
parent4cc5e954e5a7b0c60f88b5461fd953d377ffe5f9 (diff)
downloadchromium_src-37a3a4bf36aa3a07ed4982c815d427141b2aa9f8.zip
chromium_src-37a3a4bf36aa3a07ed4982c815d427141b2aa9f8.tar.gz
chromium_src-37a3a4bf36aa3a07ed4982c815d427141b2aa9f8.tar.bz2
Sniff data for the chrome meta tag as in comes in.
Doing this allows us to make an determination of the renderer type at the right time in case of the server breaking connection unexpectedly without proper end of data notification. TEST=automated tests using sub_frame1.html BUG=none Review URL: http://codereview.chromium.org/1594031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44567 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/urlmon_bind_status_callback.h')
-rw-r--r--chrome_frame/urlmon_bind_status_callback.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/urlmon_bind_status_callback.h b/chrome_frame/urlmon_bind_status_callback.h
index c6b4ba7..2475ba1 100644
--- a/chrome_frame/urlmon_bind_status_callback.h
+++ b/chrome_frame/urlmon_bind_status_callback.h
@@ -55,7 +55,7 @@ class SniffData {
HRESULT ReadIntoCache(IStream* stream, bool force_determination);
HRESULT DrainCache(IBindStatusCallback* bscb, DWORD bscf,
CLIPFORMAT clip_format);
- void DetermineRendererType();
+ void DetermineRendererType(bool last_chance);
bool is_undetermined() const {
return (UNDETERMINED == renderer_type_);