| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BIND_STATUS_CALLBACK_H_ | 5 #ifndef CHROME_FRAME_URLMON_BIND_STATUS_CALLBACK_H_ |
| 6 #define CHROME_FRAME_URLMON_BIND_STATUS_CALLBACK_H_ | 6 #define CHROME_FRAME_URLMON_BIND_STATUS_CALLBACK_H_ |
| 7 | 7 |
| 8 #include <atlbase.h> | 8 #include <atlbase.h> |
| 9 #include <atlcom.h> | 9 #include <atlcom.h> |
| 10 | 10 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 } | 71 } |
| 72 | 72 |
| 73 size_t size() const { | 73 size_t size() const { |
| 74 return size_; | 74 return size_; |
| 75 } | 75 } |
| 76 | 76 |
| 77 bool is_cache_valid() { | 77 bool is_cache_valid() { |
| 78 return (size_ != 0); | 78 return (size_ != 0); |
| 79 } | 79 } |
| 80 | 80 |
| 81 ScopedComPtr<IStream> cache_; | 81 base::win::ScopedComPtr<IStream> cache_; |
| 82 std::wstring url_; | 82 std::wstring url_; |
| 83 RendererType renderer_type_; | 83 RendererType renderer_type_; |
| 84 size_t size_; | 84 size_t size_; |
| 85 | 85 |
| 86 static const size_t kMaxSniffSize = 2 * 1024; | 86 static const size_t kMaxSniffSize = 2 * 1024; |
| 87 bool eof_; | 87 bool eof_; |
| 88 | 88 |
| 89 private: | 89 private: |
| 90 DISALLOW_COPY_AND_ASSIGN(SniffData); | 90 DISALLOW_COPY_AND_ASSIGN(SniffData); |
| 91 }; | 91 }; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 | 170 |
| 171 typedef std::vector<Progress*> ProgressVector; | 171 typedef std::vector<Progress*> ProgressVector; |
| 172 ProgressVector saved_progress_; | 172 ProgressVector saved_progress_; |
| 173 CLIPFORMAT clip_format_; | 173 CLIPFORMAT clip_format_; |
| 174 | 174 |
| 175 private: | 175 private: |
| 176 DISALLOW_COPY_AND_ASSIGN(BSCBStorageBind); | 176 DISALLOW_COPY_AND_ASSIGN(BSCBStorageBind); |
| 177 }; | 177 }; |
| 178 | 178 |
| 179 #endif // CHROME_FRAME_URLMON_BIND_STATUS_CALLBACK_H_ | 179 #endif // CHROME_FRAME_URLMON_BIND_STATUS_CALLBACK_H_ |
| OLD | NEW |