| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "extensions/browser/api/display_source/display_source_apitestbase.h" | 5 #include "extensions/browser/api/display_source/display_source_apitestbase.h" |
| 6 | 6 |
| 7 #include <list> |
| 7 #include <map> | 8 #include <map> |
| 8 #include <utility> | 9 #include <utility> |
| 9 | 10 |
| 10 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
| 11 #include "net/base/net_errors.h" | 12 #include "net/base/net_errors.h" |
| 12 #include "net/udp/udp_socket.h" | 13 #include "net/udp/udp_socket.h" |
| 13 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 14 | 15 |
| 15 namespace extensions { | 16 namespace extensions { |
| 16 | 17 |
| (...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 base::Bind(&MockDisplaySourceConnectionDelegate::Disconnect, | 525 base::Bind(&MockDisplaySourceConnectionDelegate::Disconnect, |
| 525 base::Unretained(this), StringCallback())); | 526 base::Unretained(this), StringCallback())); |
| 526 return; | 527 return; |
| 527 } | 528 } |
| 528 | 529 |
| 529 DCHECK(socket_.get()); | 530 DCHECK(socket_.get()); |
| 530 ReceiveMediaPacket(); | 531 ReceiveMediaPacket(); |
| 531 } | 532 } |
| 532 | 533 |
| 533 } // namespace extensions | 534 } // namespace extensions |
| OLD | NEW |