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