| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "remoting/jingle_glue/chromium_socket_factory.h" | 5 #include "remoting/jingle_glue/chromium_socket_factory.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "jingle/glue/utils.h" | 10 #include "jingle/glue/utils.h" |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 NOTREACHED(); | 239 NOTREACHED(); |
| 240 return -1; | 240 return -1; |
| 241 | 241 |
| 242 case talk_base::Socket::OPT_IPV6_V6ONLY: | 242 case talk_base::Socket::OPT_IPV6_V6ONLY: |
| 243 NOTIMPLEMENTED(); | 243 NOTIMPLEMENTED(); |
| 244 return -1; | 244 return -1; |
| 245 | 245 |
| 246 case talk_base::Socket::OPT_DSCP: | 246 case talk_base::Socket::OPT_DSCP: |
| 247 NOTIMPLEMENTED(); | 247 NOTIMPLEMENTED(); |
| 248 return -1; | 248 return -1; |
| 249 |
| 250 case talk_base::Socket::OPT_RTP_SENDTIME_EXTN_ID: |
| 251 NOTIMPLEMENTED(); |
| 252 return -1; |
| 249 } | 253 } |
| 250 | 254 |
| 251 NOTREACHED(); | 255 NOTREACHED(); |
| 252 return -1; | 256 return -1; |
| 253 } | 257 } |
| 254 | 258 |
| 255 int UdpPacketSocket::GetError() const { | 259 int UdpPacketSocket::GetError() const { |
| 256 return error_; | 260 return error_; |
| 257 } | 261 } |
| 258 | 262 |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 NOTREACHED(); | 376 NOTREACHED(); |
| 373 return NULL; | 377 return NULL; |
| 374 } | 378 } |
| 375 | 379 |
| 376 talk_base::AsyncResolverInterface* | 380 talk_base::AsyncResolverInterface* |
| 377 ChromiumPacketSocketFactory::CreateAsyncResolver() { | 381 ChromiumPacketSocketFactory::CreateAsyncResolver() { |
| 378 return new talk_base::AsyncResolver(); | 382 return new talk_base::AsyncResolver(); |
| 379 } | 383 } |
| 380 | 384 |
| 381 } // namespace remoting | 385 } // namespace remoting |
| OLD | NEW |