| 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_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 |
| 11 #include "base/scoped_ptr.h" |
| 11 #include "chrome_frame/bind_status_callback_impl.h" | 12 #include "chrome_frame/bind_status_callback_impl.h" |
| 12 #include "chrome_frame/stream_impl.h" | 13 #include "chrome_frame/stream_impl.h" |
| 13 | 14 |
| 14 | 15 |
| 15 // A fake stream class to serve cached data to arbitrary | 16 // A fake stream class to serve cached data to arbitrary |
| 16 // IBindStatusCallback | 17 // IBindStatusCallback |
| 17 class CacheStream : public CComObjectRoot, public StreamImpl { | 18 class CacheStream : public CComObjectRoot, public StreamImpl { |
| 18 public: | 19 public: |
| 19 BEGIN_COM_MAP(CacheStream) | 20 BEGIN_COM_MAP(CacheStream) |
| 20 COM_INTERFACE_ENTRY(IStream) | 21 COM_INTERFACE_ENTRY(IStream) |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 | 170 |
| 170 typedef std::vector<Progress*> ProgressVector; | 171 typedef std::vector<Progress*> ProgressVector; |
| 171 ProgressVector saved_progress_; | 172 ProgressVector saved_progress_; |
| 172 CLIPFORMAT clip_format_; | 173 CLIPFORMAT clip_format_; |
| 173 | 174 |
| 174 private: | 175 private: |
| 175 DISALLOW_COPY_AND_ASSIGN(BSCBStorageBind); | 176 DISALLOW_COPY_AND_ASSIGN(BSCBStorageBind); |
| 176 }; | 177 }; |
| 177 | 178 |
| 178 #endif // CHROME_FRAME_URLMON_BIND_STATUS_CALLBACK_H_ | 179 #endif // CHROME_FRAME_URLMON_BIND_STATUS_CALLBACK_H_ |
| OLD | NEW |