| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CHROME_RENDERER_MEDIA_CAST_UDP_TRANSPORT_H_ | 5 #ifndef CHROME_RENDERER_MEDIA_CAST_UDP_TRANSPORT_H_ |
| 6 #define CHROME_RENDERER_MEDIA_CAST_UDP_TRANSPORT_H_ | 6 #define CHROME_RENDERER_MEDIA_CAST_UDP_TRANSPORT_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 11 #include "chrome/renderer/media/cast_session_delegate.h" | 11 #include "chrome/renderer/media/cast_session_delegate.h" |
| 12 #include "net/base/ip_endpoint.h" | 12 #include "net/base/ip_endpoint.h" |
| 13 | 13 |
| 14 namespace base { | 14 namespace base { |
| 15 class DictionaryValue; | 15 class DictionaryValue; |
| 16 } // namespace base | 16 } // namespace base |
| 17 | 17 |
| 18 class CastSession; | 18 class CastSession; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 35 private: | 35 private: |
| 36 const scoped_refptr<CastSession> cast_session_; | 36 const scoped_refptr<CastSession> cast_session_; |
| 37 net::IPEndPoint remote_address_; | 37 net::IPEndPoint remote_address_; |
| 38 scoped_ptr<base::DictionaryValue> options_; | 38 scoped_ptr<base::DictionaryValue> options_; |
| 39 base::WeakPtrFactory<CastUdpTransport> weak_factory_; | 39 base::WeakPtrFactory<CastUdpTransport> weak_factory_; |
| 40 | 40 |
| 41 DISALLOW_COPY_AND_ASSIGN(CastUdpTransport); | 41 DISALLOW_COPY_AND_ASSIGN(CastUdpTransport); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 #endif // CHROME_RENDERER_MEDIA_CAST_UDP_TRANSPORT_H_ | 44 #endif // CHROME_RENDERER_MEDIA_CAST_UDP_TRANSPORT_H_ |
| OLD | NEW |