OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
Sergey Ulanov
2014/09/10 18:05:32
year
remove (c)
guoweis_webrtc
2014/09/10 19:56:32
Done.
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_RENDERER_P2P_MOCK_SOCKET_DISPATCHER_H_ | |
6 #define CONTENT_RENDERER_P2P_MOCK_SOCKET_DISPATCHER_H_ | |
7 | |
8 #include "content/renderer/p2p/socket_dispatcher.h" | |
9 #include "testing/gmock/include/gmock/gmock.h" | |
10 | |
11 namespace content { | |
12 | |
13 class MockP2PSocketDispatcher : public P2PSocketDispatcherInterface { | |
Sergey Ulanov
2014/09/10 18:05:32
Unless this class is shared between multiple tests
guoweis_webrtc
2014/09/10 19:56:32
Done.
| |
14 public: | |
15 virtual void AddNetworkListObserver( | |
16 NetworkListObserver* network_list_observer) OVERRIDE {} | |
17 | |
18 virtual void RemoveNetworkListObserver( | |
19 NetworkListObserver* network_list_observer) OVERRIDE {} | |
20 | |
21 virtual ~MockP2PSocketDispatcher() {} | |
22 }; | |
23 | |
24 } // namespace content | |
25 | |
26 #endif // CONTENT_RENDERER_P2P_MOCK_SOCKET_DISPATCHER_H_ | |
OLD | NEW |