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 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/scoped_comptr_win.h" | |
16 #include "base/thread_local.h" | 15 #include "base/thread_local.h" |
17 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
18 #include "chrome_frame/utils.h" | 17 #include "chrome_frame/utils.h" |
19 | 18 |
20 // This file contains classes that are used to cache the contents of a top-level | 19 // 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 | 20 // 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. | 21 // presence of a meta tag indicating that the page should be rendered in CF. |
23 | 22 |
24 // Here are a few scenarios we handle and how the classes come to play. | 23 // Here are a few scenarios we handle and how the classes come to play. |
25 | 24 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 | 161 |
163 static STDMETHODIMP BindToStorage(IMoniker_BindToStorage_Fn original, | 162 static STDMETHODIMP BindToStorage(IMoniker_BindToStorage_Fn original, |
164 IMoniker* me, IBindCtx* bind_ctx, | 163 IMoniker* me, IBindCtx* bind_ctx, |
165 IMoniker* to_left, REFIID iid, void** obj); | 164 IMoniker* to_left, REFIID iid, void** obj); |
166 | 165 |
167 }; | 166 }; |
168 | 167 |
169 extern wchar_t* kChromeRequestParam; | 168 extern wchar_t* kChromeRequestParam; |
170 | 169 |
171 #endif // CHROME_FRAME_URLMON_MONIKER_H_ | 170 #endif // CHROME_FRAME_URLMON_MONIKER_H_ |
OLD | NEW |