| 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 COMPONENTS_TEST_RUNNER_MOCK_WEB_USER_MEDIA_CLIENT_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_MOCK_WEB_USER_MEDIA_CLIENT_H_ |
| 6 #define COMPONENTS_TEST_RUNNER_MOCK_WEB_USER_MEDIA_CLIENT_H_ | 6 #define COMPONENTS_TEST_RUNNER_MOCK_WEB_USER_MEDIA_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | |
| 9 #include "components/test_runner/web_task.h" | 8 #include "components/test_runner/web_task.h" |
| 10 #include "third_party/WebKit/public/web/WebUserMediaClient.h" | 9 #include "third_party/WebKit/public/web/WebUserMediaClient.h" |
| 11 | 10 |
| 12 namespace test_runner { | 11 namespace test_runner { |
| 13 | 12 |
| 14 class WebTestDelegate; | 13 class WebTestDelegate; |
| 15 | 14 |
| 16 class MockWebUserMediaClient : public blink::WebUserMediaClient { | 15 class MockWebUserMediaClient : public blink::WebUserMediaClient { |
| 17 public: | 16 public: |
| 18 explicit MockWebUserMediaClient(WebTestDelegate* delegate); | 17 explicit MockWebUserMediaClient(WebTestDelegate* delegate); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 30 private: | 29 private: |
| 31 WebTaskList task_list_; | 30 WebTaskList task_list_; |
| 32 WebTestDelegate* delegate_; | 31 WebTestDelegate* delegate_; |
| 33 | 32 |
| 34 DISALLOW_COPY_AND_ASSIGN(MockWebUserMediaClient); | 33 DISALLOW_COPY_AND_ASSIGN(MockWebUserMediaClient); |
| 35 }; | 34 }; |
| 36 | 35 |
| 37 } // namespace test_runner | 36 } // namespace test_runner |
| 38 | 37 |
| 39 #endif // COMPONENTS_TEST_RUNNER_MOCK_WEB_USER_MEDIA_CLIENT_H_ | 38 #endif // COMPONENTS_TEST_RUNNER_MOCK_WEB_USER_MEDIA_CLIENT_H_ |
| OLD | NEW |