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