| 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_ | 5 #ifndef CHROME_FRAME_BIND_CONTEXT_INFO_ |
| 6 #define CHROME_FRAME_BIND_CONTEXT_INFO_ | 6 #define CHROME_FRAME_BIND_CONTEXT_INFO_ |
| 7 | 7 |
| 8 #include <atlbase.h> | 8 #include <atlbase.h> |
| 9 #include <atlcom.h> | 9 #include <atlcom.h> |
| 10 | 10 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 bool is_switching() const { | 44 bool is_switching() const { |
| 45 return is_switching_; | 45 return is_switching_; |
| 46 } | 46 } |
| 47 | 47 |
| 48 void SetToSwitch(IStream* cache); | 48 void SetToSwitch(IStream* cache); |
| 49 | 49 |
| 50 IStream* cache() { | 50 IStream* cache() { |
| 51 return cache_; | 51 return cache_; |
| 52 } | 52 } |
| 53 | 53 |
| 54 void set_cache(IStream* cache); | |
| 55 | |
| 56 private: | 54 private: |
| 57 ScopedComPtr<IStream> cache_; | 55 ScopedComPtr<IStream> cache_; |
| 58 bool no_cache_; | 56 bool no_cache_; |
| 59 bool chrome_request_; | 57 bool chrome_request_; |
| 60 bool is_switching_; | 58 bool is_switching_; |
| 61 | 59 |
| 62 DISALLOW_COPY_AND_ASSIGN(BindContextInfo); | 60 DISALLOW_COPY_AND_ASSIGN(BindContextInfo); |
| 63 }; | 61 }; |
| 64 | 62 |
| 65 #endif // CHROME_FRAME_BIND_CONTEXT_INFO_ | 63 #endif // CHROME_FRAME_BIND_CONTEXT_INFO_ |
| 66 | 64 |
| OLD | NEW |