OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_MOCK_WEB_USER_MEDIA_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEB_USER_MEDIA_CLIENT_H_ |
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEB_USER_MEDIA_CLIENT_H_ | 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEB_USER_MEDIA_CLIENT_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "content/shell/renderer/test_runner/WebTask.h" | 9 #include "content/shell/renderer/test_runner/web_task.h" |
10 #include "third_party/WebKit/public/web/WebUserMediaClient.h" | 10 #include "third_party/WebKit/public/web/WebUserMediaClient.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 class WebTestDelegate; | 14 class WebTestDelegate; |
15 | 15 |
16 class MockWebUserMediaClient : public blink::WebUserMediaClient { | 16 class MockWebUserMediaClient : public blink::WebUserMediaClient { |
17 public: | 17 public: |
18 explicit MockWebUserMediaClient(WebTestDelegate* delegate); | 18 explicit MockWebUserMediaClient(WebTestDelegate* delegate); |
19 virtual ~MockWebUserMediaClient() {} | 19 virtual ~MockWebUserMediaClient() {} |
(...skipping 12 matching lines...) Expand all Loading... |
32 private: | 32 private: |
33 WebTaskList task_list_; | 33 WebTaskList task_list_; |
34 WebTestDelegate* delegate_; | 34 WebTestDelegate* delegate_; |
35 | 35 |
36 DISALLOW_COPY_AND_ASSIGN(MockWebUserMediaClient); | 36 DISALLOW_COPY_AND_ASSIGN(MockWebUserMediaClient); |
37 }; | 37 }; |
38 | 38 |
39 } // namespace content | 39 } // namespace content |
40 | 40 |
41 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEB_USER_MEDIA_CLIENT_H_ | 41 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEB_USER_MEDIA_CLIENT_H_ |
OLD | NEW |