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

Side by Side Diff: content/shell/renderer/test_runner/MockWebRTCPeerConnectionHandler.h

Issue 264003003: test_runner: Move everything else into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months 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 | Annotate | Revision Log
OLDNEW
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 CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCPEERCONNECTIONHANDLER_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCPEERCONNECTIONHANDLER_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCPEERCONNECTIONHANDLER_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCPEERCONNECTIONHANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/shell/renderer/test_runner/TestCommon.h" 9 #include "content/shell/renderer/test_runner/TestCommon.h"
10 #include "content/shell/renderer/test_runner/WebTask.h" 10 #include "content/shell/renderer/test_runner/WebTask.h"
11 #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h" 11 #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h"
12 #include "third_party/WebKit/public/platform/WebRTCSessionDescription.h" 12 #include "third_party/WebKit/public/platform/WebRTCSessionDescription.h"
13 #include "third_party/WebKit/public/platform/WebRTCSessionDescriptionRequest.h" 13 #include "third_party/WebKit/public/platform/WebRTCSessionDescriptionRequest.h"
14 #include "third_party/WebKit/public/platform/WebRTCStatsRequest.h" 14 #include "third_party/WebKit/public/platform/WebRTCStatsRequest.h"
15 15
16 namespace blink { 16 namespace blink {
17 class WebRTCPeerConnectionHandlerClient; 17 class WebRTCPeerConnectionHandlerClient;
18 }; 18 };
19 19
20 namespace WebTestRunner { 20 namespace content {
21 21
22 class TestInterfaces; 22 class TestInterfaces;
23 23
24 class MockWebRTCPeerConnectionHandler : public blink::WebRTCPeerConnectionHandle r { 24 class MockWebRTCPeerConnectionHandler : public blink::WebRTCPeerConnectionHandle r {
25 public: 25 public:
26 MockWebRTCPeerConnectionHandler(blink::WebRTCPeerConnectionHandlerClient*, T estInterfaces*); 26 MockWebRTCPeerConnectionHandler(blink::WebRTCPeerConnectionHandlerClient*, T estInterfaces*);
27 27
28 virtual bool initialize(const blink::WebRTCConfiguration&, const blink::WebM ediaConstraints&) OVERRIDE; 28 virtual bool initialize(const blink::WebRTCConfiguration&, const blink::WebM ediaConstraints&) OVERRIDE;
29 29
30 virtual void createOffer(const blink::WebRTCSessionDescriptionRequest&, cons t blink::WebMediaConstraints&) OVERRIDE; 30 virtual void createOffer(const blink::WebRTCSessionDescriptionRequest&, cons t blink::WebMediaConstraints&) OVERRIDE;
(...skipping 22 matching lines...) Expand all
53 bool m_stopped; 53 bool m_stopped;
54 WebTaskList m_taskList; 54 WebTaskList m_taskList;
55 blink::WebRTCSessionDescription m_localDescription; 55 blink::WebRTCSessionDescription m_localDescription;
56 blink::WebRTCSessionDescription m_remoteDescription; 56 blink::WebRTCSessionDescription m_remoteDescription;
57 int m_streamCount; 57 int m_streamCount;
58 TestInterfaces* m_interfaces; 58 TestInterfaces* m_interfaces;
59 59
60 DISALLOW_COPY_AND_ASSIGN(MockWebRTCPeerConnectionHandler); 60 DISALLOW_COPY_AND_ASSIGN(MockWebRTCPeerConnectionHandler);
61 }; 61 };
62 62
63 } 63 } // namespace content
64 64
65 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCPEERCONNECTIONHANDLER_H_ 65 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCPEERCONNECTIONHANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698