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> |
| 11 |
11 #include <string> | 12 #include <string> |
12 | 13 |
13 #include "base/lazy_instance.h" | 14 #include "base/lazy_instance.h" |
14 #include "base/logging.h" | 15 #include "base/logging.h" |
15 #include "base/threading/thread_local.h" | 16 #include "base/threading/thread_local.h" |
| 17 #include "base/win/atlcheck.h" |
16 #include "base/win/scoped_variant.h" | 18 #include "base/win/scoped_variant.h" |
17 #include "googleurl/src/gurl.h" | 19 #include "googleurl/src/gurl.h" |
18 #include "chrome_frame/utils.h" | 20 #include "chrome_frame/utils.h" |
19 | 21 |
20 // This file contains classes that are used to cache the contents of a top-level | 22 // This file contains classes that are used to cache the contents of a top-level |
21 // http request (not for sub frames) while that request is parsed for the | 23 // http request (not for sub frames) while that request is parsed for the |
22 // presence of a meta tag indicating that the page should be rendered in CF. | 24 // presence of a meta tag indicating that the page should be rendered in CF. |
23 | 25 |
24 // Here are a few scenarios we handle and how the classes come to play. | 26 // Here are a few scenarios we handle and how the classes come to play. |
25 | 27 |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 | 193 |
192 static STDMETHODIMP BindToStorage(IMoniker_BindToStorage_Fn original, | 194 static STDMETHODIMP BindToStorage(IMoniker_BindToStorage_Fn original, |
193 IMoniker* me, IBindCtx* bind_ctx, | 195 IMoniker* me, IBindCtx* bind_ctx, |
194 IMoniker* to_left, REFIID iid, void** obj); | 196 IMoniker* to_left, REFIID iid, void** obj); |
195 | 197 |
196 }; | 198 }; |
197 | 199 |
198 extern wchar_t* kChromeRequestParam; | 200 extern wchar_t* kChromeRequestParam; |
199 | 201 |
200 #endif // CHROME_FRAME_URLMON_MONIKER_H_ | 202 #endif // CHROME_FRAME_URLMON_MONIKER_H_ |
OLD | NEW |