summaryrefslogtreecommitdiffstats
path: root/chrome_frame/bind_context_info.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/bind_context_info.cc')
-rw-r--r--chrome_frame/bind_context_info.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome_frame/bind_context_info.cc b/chrome_frame/bind_context_info.cc
index b1f9565..28cb239 100644
--- a/chrome_frame/bind_context_info.cc
+++ b/chrome_frame/bind_context_info.cc
@@ -79,3 +79,10 @@ void BindContextInfo::SetToSwitch(IStream* cache) {
}
}
+std::wstring BindContextInfo::GetUrl() {
+ if (has_prot_data()) {
+ return prot_data_->url();
+ }
+ return std::wstring();
+}
+