summaryrefslogtreecommitdiffstats
path: root/chrome_frame/urlmon_url_request_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/urlmon_url_request_private.h')
-rw-r--r--chrome_frame/urlmon_url_request_private.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/chrome_frame/urlmon_url_request_private.h b/chrome_frame/urlmon_url_request_private.h
index 4dc973f..102f67b 100644
--- a/chrome_frame/urlmon_url_request_private.h
+++ b/chrome_frame/urlmon_url_request_private.h
@@ -31,7 +31,9 @@ class UrlmonUrlRequest
virtual bool Read(int bytes_to_read);
// Special function needed by ActiveDocument::Load()
- HRESULT UseBindCtx(IMoniker* moniker, LPBC bc);
+ HRESULT InitPending(const GURL& url, IMoniker* moniker, IBindCtx* bind_ctx,
+ bool enable_frame_busting, bool privileged_mode,
+ HWND notification_window);
// Used from "DownloadRequestInHost".
void StealMoniker(IMoniker** moniker, IBindCtx** bctx);
@@ -47,6 +49,10 @@ class UrlmonUrlRequest
privileged_mode_ = privileged_mode;
}
+ bool IsForUrl(const GURL& other) const {
+ return url_ == other;
+ }
+
protected:
UrlmonUrlRequest();
~UrlmonUrlRequest();
@@ -245,6 +251,7 @@ class UrlmonUrlRequest
ScopedComPtr<IBinding> binding_;
ScopedComPtr<IMoniker> moniker_;
ScopedComPtr<IBindCtx> bind_context_;
+ GURL url_;
Cache cached_data_;
size_t pending_read_size_;
PlatformThreadId thread_;