Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7662)

Unified Diff: chrome_frame/bind_context_info.h

Issue 6469103: If we switch into ChromeFrame as a result of a redirect then we need to navig... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome_frame/bind_context_info.cc » ('j') | chrome_frame/bind_context_info.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | chrome_frame/bind_context_info.cc » ('j') | chrome_frame/bind_context_info.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698