| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 CONTENT_BROWSER_STREAMS_STREAM_HANDLE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_STREAMS_STREAM_HANDLE_IMPL_H_ |
| 6 #define CONTENT_BROWSER_STREAMS_STREAM_HANDLE_IMPL_H_ | 6 #define CONTENT_BROWSER_STREAMS_STREAM_HANDLE_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
| 9 #include "base/message_loop_proxy.h" | 9 #include "base/message_loop/message_loop_proxy.h" |
| 10 #include "base/synchronization/lock.h" | 10 #include "base/synchronization/lock.h" |
| 11 #include "content/public/browser/stream_handle.h" | 11 #include "content/public/browser/stream_handle.h" |
| 12 | 12 |
| 13 namespace content { | 13 namespace content { |
| 14 | 14 |
| 15 class Stream; | 15 class Stream; |
| 16 | 16 |
| 17 class StreamHandleImpl : public StreamHandle { | 17 class StreamHandleImpl : public StreamHandle { |
| 18 public: | 18 public: |
| 19 StreamHandleImpl(const base::WeakPtr<Stream>& stream, | 19 StreamHandleImpl(const base::WeakPtr<Stream>& stream, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 31 GURL url_; | 31 GURL url_; |
| 32 GURL original_url_; | 32 GURL original_url_; |
| 33 std::string mime_type_; | 33 std::string mime_type_; |
| 34 base::MessageLoopProxy* stream_message_loop_; | 34 base::MessageLoopProxy* stream_message_loop_; |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 } // namespace content | 37 } // namespace content |
| 38 | 38 |
| 39 #endif // CONTENT_BROWSER_STREAMS_STREAM_HANDLE_IMPL_H_ | 39 #endif // CONTENT_BROWSER_STREAMS_STREAM_HANDLE_IMPL_H_ |
| 40 | 40 |
| OLD | NEW |