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

Side by Side Diff: content/shell/renderer/test_runner/MockWebRTCDataChannelHandler.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_MOCKWEBRTCDATACHANNELHANDLER_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCDATACHANNELHANDLER_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCDATACHANNELHANDLER_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCDATACHANNELHANDLER_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/WebRTCDataChannelHandler.h" 11 #include "third_party/WebKit/public/platform/WebRTCDataChannelHandler.h"
12 #include "third_party/WebKit/public/platform/WebRTCDataChannelInit.h" 12 #include "third_party/WebKit/public/platform/WebRTCDataChannelInit.h"
13 #include "third_party/WebKit/public/platform/WebString.h" 13 #include "third_party/WebKit/public/platform/WebString.h"
14 14
15 namespace WebTestRunner { 15 namespace content {
16 16
17 class WebTestDelegate; 17 class WebTestDelegate;
18 18
19 class MockWebRTCDataChannelHandler : public blink::WebRTCDataChannelHandler { 19 class MockWebRTCDataChannelHandler : public blink::WebRTCDataChannelHandler {
20 public: 20 public:
21 MockWebRTCDataChannelHandler(blink::WebString label, const blink::WebRTCData ChannelInit&, WebTestDelegate*); 21 MockWebRTCDataChannelHandler(blink::WebString label, const blink::WebRTCData ChannelInit&, WebTestDelegate*);
22 22
23 virtual void setClient(blink::WebRTCDataChannelHandlerClient*) OVERRIDE; 23 virtual void setClient(blink::WebRTCDataChannelHandlerClient*) OVERRIDE;
24 virtual blink::WebString label() OVERRIDE; 24 virtual blink::WebString label() OVERRIDE;
25 virtual bool isReliable() OVERRIDE; 25 virtual bool isReliable() OVERRIDE;
(...skipping 17 matching lines...) Expand all
43 blink::WebRTCDataChannelHandlerClient* m_client; 43 blink::WebRTCDataChannelHandlerClient* m_client;
44 blink::WebString m_label; 44 blink::WebString m_label;
45 blink::WebRTCDataChannelInit m_init; 45 blink::WebRTCDataChannelInit m_init;
46 bool m_reliable; 46 bool m_reliable;
47 WebTaskList m_taskList; 47 WebTaskList m_taskList;
48 WebTestDelegate* m_delegate; 48 WebTestDelegate* m_delegate;
49 49
50 DISALLOW_COPY_AND_ASSIGN(MockWebRTCDataChannelHandler); 50 DISALLOW_COPY_AND_ASSIGN(MockWebRTCDataChannelHandler);
51 }; 51 };
52 52
53 } 53 } // namespace content
54 54
55 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCDATACHANNELHANDLER_H_ 55 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCDATACHANNELHANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698