OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_FRAME_URLMON_MONIKER_H_ | 5 #ifndef CHROME_FRAME_URLMON_MONIKER_H_ |
6 #define CHROME_FRAME_URLMON_MONIKER_H_ | 6 #define CHROME_FRAME_URLMON_MONIKER_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlcom.h> | 9 #include <atlcom.h> |
10 #include <urlmon.h> | 10 #include <urlmon.h> |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 DCHECK(GetThreadInstance() != this); | 94 DCHECK(GetThreadInstance() != this); |
95 } | 95 } |
96 | 96 |
97 // Returns the url of the current top level navigation. | 97 // Returns the url of the current top level navigation. |
98 const std::wstring& url() const { | 98 const std::wstring& url() const { |
99 return url_; | 99 return url_; |
100 } | 100 } |
101 | 101 |
102 // Called to set the current top level URL that's being navigated to. | 102 // Called to set the current top level URL that's being navigated to. |
103 void set_url(const wchar_t* url) { | 103 void set_url(const wchar_t* url) { |
104 DLOG(INFO) << __FUNCTION__ << " " << url; | 104 DVLOG(1) << __FUNCTION__ << " " << url; |
105 url_ = url; | 105 url_ = url; |
106 } | 106 } |
107 | 107 |
108 // Returns the referrer header value of the current top level navigation. | 108 // Returns the referrer header value of the current top level navigation. |
109 const std::string& referrer() const { | 109 const std::string& referrer() const { |
110 return referrer_; | 110 return referrer_; |
111 } | 111 } |
112 | 112 |
113 void set_referrer(const std::string& referrer) { | 113 void set_referrer(const std::string& referrer) { |
114 referrer_ = referrer; | 114 referrer_ = referrer; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 | 161 |
162 static STDMETHODIMP BindToStorage(IMoniker_BindToStorage_Fn original, | 162 static STDMETHODIMP BindToStorage(IMoniker_BindToStorage_Fn original, |
163 IMoniker* me, IBindCtx* bind_ctx, | 163 IMoniker* me, IBindCtx* bind_ctx, |
164 IMoniker* to_left, REFIID iid, void** obj); | 164 IMoniker* to_left, REFIID iid, void** obj); |
165 | 165 |
166 }; | 166 }; |
167 | 167 |
168 extern wchar_t* kChromeRequestParam; | 168 extern wchar_t* kChromeRequestParam; |
169 | 169 |
170 #endif // CHROME_FRAME_URLMON_MONIKER_H_ | 170 #endif // CHROME_FRAME_URLMON_MONIKER_H_ |
OLD | NEW |