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_BIND_CONTEXT_INFO_H_ | 5 #ifndef CHROME_FRAME_BIND_CONTEXT_INFO_H_ |
6 #define CHROME_FRAME_BIND_CONTEXT_INFO_H_ | 6 #define CHROME_FRAME_BIND_CONTEXT_INFO_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlcom.h> | 9 #include <atlcom.h> |
10 | 10 |
| 11 #include "base/win/atlcheck.h" |
11 #include "base/win/scoped_comptr.h" | 12 #include "base/win/scoped_comptr.h" |
12 #include "chrome_frame/protocol_sink_wrap.h" | 13 #include "chrome_frame/protocol_sink_wrap.h" |
13 | 14 |
14 class __declspec(uuid("71CC3EC7-7E8A-457f-93BC-1090CF31CC18")) | 15 class __declspec(uuid("71CC3EC7-7E8A-457f-93BC-1090CF31CC18")) |
15 IBindContextInfoInternal : public IUnknown { | 16 IBindContextInfoInternal : public IUnknown { |
16 public: | 17 public: |
17 STDMETHOD(GetCppObject)(void** me) = 0; | 18 STDMETHOD(GetCppObject)(void** me) = 0; |
18 }; | 19 }; |
19 | 20 |
20 // This class maintains contextual information used by ChromeFrame. | 21 // This class maintains contextual information used by ChromeFrame. |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 bool chrome_request_; | 106 bool chrome_request_; |
106 bool is_switching_; | 107 bool is_switching_; |
107 base::win::ScopedComPtr<IUnknown> ftm_; | 108 base::win::ScopedComPtr<IUnknown> ftm_; |
108 scoped_refptr<ProtData> prot_data_; | 109 scoped_refptr<ProtData> prot_data_; |
109 ScopedComPtr<IInternetProtocol> protocol_; | 110 ScopedComPtr<IInternetProtocol> protocol_; |
110 | 111 |
111 DISALLOW_COPY_AND_ASSIGN(BindContextInfo); | 112 DISALLOW_COPY_AND_ASSIGN(BindContextInfo); |
112 }; | 113 }; |
113 | 114 |
114 #endif // CHROME_FRAME_BIND_CONTEXT_INFO_H_ | 115 #endif // CHROME_FRAME_BIND_CONTEXT_INFO_H_ |
OLD | NEW |