Index: chrome_frame/bind_context_info.h |
=================================================================== |
--- chrome_frame/bind_context_info.h (revision 75628) |
+++ chrome_frame/bind_context_info.h (working copy) |
@@ -65,21 +65,6 @@ |
return cache_; |
} |
- // Accept a const wchar_t* to ensure that we don't have a reference |
- // to someone else's buffer. |
- void set_url(const wchar_t* url) { |
- DCHECK(url); |
- if (url) { |
- url_ = url; |
- } else { |
- url_.clear(); |
- } |
- } |
- |
- const std::wstring& url() const { |
- return url_; |
- } |
- |
void set_prot_data(ProtData* data) { |
prot_data_ = data; |
} |
@@ -100,6 +85,10 @@ |
return protocol_.get(); |
} |
+ // Returns the url being navigated to. We retrieve the url from the ProtData |
+ // instance which wraps the underlying protocol sink. |
+ std::wstring GetUrl(); |
+ |
protected: |
STDMETHOD(GetCppObject)(void** me) { |
DCHECK(me); |