Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: extensions/browser/api/display_source/display_source_apitestbase.cc

Issue 2508593002: net: move udp directory into socket (Closed)
Patch Set: revert sys/socket.h change Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <list>
8 #include <map> 8 #include <map>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "net/base/net_errors.h" 12 #include "net/base/net_errors.h"
13 #include "net/log/net_log_source.h" 13 #include "net/log/net_log_source.h"
14 #include "net/udp/udp_socket.h" 14 #include "net/socket/udp_socket.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 namespace extensions { 17 namespace extensions {
18 18
19 using api::display_source::SinkInfo; 19 using api::display_source::SinkInfo;
20 using api::display_source::SinkState; 20 using api::display_source::SinkState;
21 using api::display_source::AuthenticationMethod; 21 using api::display_source::AuthenticationMethod;
22 using api::display_source::SINK_STATE_DISCONNECTED; 22 using api::display_source::SINK_STATE_DISCONNECTED;
23 using api::display_source::SINK_STATE_CONNECTING; 23 using api::display_source::SINK_STATE_CONNECTING;
24 using api::display_source::SINK_STATE_CONNECTED; 24 using api::display_source::SINK_STATE_CONNECTED;
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 base::Bind(&MockDisplaySourceConnectionDelegate::Disconnect, 526 base::Bind(&MockDisplaySourceConnectionDelegate::Disconnect,
527 base::Unretained(this), StringCallback())); 527 base::Unretained(this), StringCallback()));
528 return; 528 return;
529 } 529 }
530 530
531 DCHECK(socket_.get()); 531 DCHECK(socket_.get());
532 ReceiveMediaPacket(); 532 ReceiveMediaPacket();
533 } 533 }
534 534
535 } // namespace extensions 535 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698