| 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 CONTENT_SHELL_TEST_RUNNER_MOCK_WEB_USER_MEDIA_CLIENT_H_ |
| 6 #define COMPONENTS_TEST_RUNNER_MOCK_WEB_USER_MEDIA_CLIENT_H_ | 6 #define CONTENT_SHELL_TEST_RUNNER_MOCK_WEB_USER_MEDIA_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "third_party/WebKit/public/web/WebMediaDeviceChangeObserver.h" | 10 #include "third_party/WebKit/public/web/WebMediaDeviceChangeObserver.h" |
| 11 #include "third_party/WebKit/public/web/WebUserMediaClient.h" | 11 #include "third_party/WebKit/public/web/WebUserMediaClient.h" |
| 12 | 12 |
| 13 namespace test_runner { | 13 namespace test_runner { |
| 14 | 14 |
| 15 class WebTestDelegate; | 15 class WebTestDelegate; |
| 16 | 16 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 30 blink::WebMediaDeviceChangeObserver media_device_change_observer_; | 30 blink::WebMediaDeviceChangeObserver media_device_change_observer_; |
| 31 bool should_enumerate_extra_device_; | 31 bool should_enumerate_extra_device_; |
| 32 | 32 |
| 33 base::WeakPtrFactory<MockWebUserMediaClient> weak_factory_; | 33 base::WeakPtrFactory<MockWebUserMediaClient> weak_factory_; |
| 34 | 34 |
| 35 DISALLOW_COPY_AND_ASSIGN(MockWebUserMediaClient); | 35 DISALLOW_COPY_AND_ASSIGN(MockWebUserMediaClient); |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 } // namespace test_runner | 38 } // namespace test_runner |
| 39 | 39 |
| 40 #endif // COMPONENTS_TEST_RUNNER_MOCK_WEB_USER_MEDIA_CLIENT_H_ | 40 #endif // CONTENT_SHELL_TEST_RUNNER_MOCK_WEB_USER_MEDIA_CLIENT_H_ |
| OLD | NEW |