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

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

Issue 110533009: Import TestRunner library into chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WebUserMediaClientMock_h
6 #define WebUserMediaClientMock_h
7
8 #include "content/shell/renderer/test_runner/TestCommon.h"
9 #include "content/shell/renderer/test_runner/WebTask.h"
10 #include "third_party/WebKit/public/platform/WebCommon.h"
11 #include "third_party/WebKit/public/platform/WebNonCopyable.h"
12 #include "third_party/WebKit/public/platform/WebString.h"
13 #include "third_party/WebKit/public/platform/WebURL.h"
14 #include "third_party/WebKit/public/web/WebUserMediaClient.h"
15
16 namespace WebTestRunner {
17
18 class WebTestDelegate;
19
20 class WebUserMediaClientMock : public blink::WebUserMediaClient, public blink::W ebNonCopyable {
21 public:
22 explicit WebUserMediaClientMock(WebTestDelegate*);
23 ~WebUserMediaClientMock() { }
24
25 virtual void requestUserMedia(const blink::WebUserMediaRequest&) OVERRIDE;
26 virtual void cancelUserMediaRequest(const blink::WebUserMediaRequest&) OVERR IDE;
27
28 // Task related methods
29 WebTaskList* taskList() { return &m_taskList; }
30
31 private:
32 WebTaskList m_taskList;
33 WebTestDelegate* m_delegate;
34 };
35
36 }
37
38 #endif // WebUserMediaClientMock_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698