| 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_TEST_RUNNER_MOCK_CONTENT_SETTINGS_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_TEST_RUNNER_MOCK_CONTENT_SETTINGS_CLIENT_H_ |
| 6 #define CONTENT_SHELL_TEST_RUNNER_MOCK_CONTENT_SETTINGS_CLIENT_H_ | 6 #define CONTENT_SHELL_TEST_RUNNER_MOCK_CONTENT_SETTINGS_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "third_party/WebKit/public/web/WebContentSettingsClient.h" | 9 #include "third_party/WebKit/public/platform/WebContentSettingsClient.h" |
| 10 | 10 |
| 11 namespace test_runner { | 11 namespace test_runner { |
| 12 | 12 |
| 13 class LayoutTestRuntimeFlags; | 13 class LayoutTestRuntimeFlags; |
| 14 class WebTestDelegate; | 14 class WebTestDelegate; |
| 15 | 15 |
| 16 class MockContentSettingsClient : public blink::WebContentSettingsClient { | 16 class MockContentSettingsClient : public blink::WebContentSettingsClient { |
| 17 public: | 17 public: |
| 18 // Caller has to guarantee that |layout_test_runtime_flags| lives longer | 18 // Caller has to guarantee that |layout_test_runtime_flags| lives longer |
| 19 // than the MockContentSettingsClient being constructed here. | 19 // than the MockContentSettingsClient being constructed here. |
| (...skipping 20 matching lines...) Expand all Loading... |
| 40 WebTestDelegate* delegate_; | 40 WebTestDelegate* delegate_; |
| 41 | 41 |
| 42 LayoutTestRuntimeFlags* flags_; | 42 LayoutTestRuntimeFlags* flags_; |
| 43 | 43 |
| 44 DISALLOW_COPY_AND_ASSIGN(MockContentSettingsClient); | 44 DISALLOW_COPY_AND_ASSIGN(MockContentSettingsClient); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace test_runner | 47 } // namespace test_runner |
| 48 | 48 |
| 49 #endif // CONTENT_SHELL_TEST_RUNNER_MOCK_CONTENT_SETTINGS_CLIENT_H_ | 49 #endif // CONTENT_SHELL_TEST_RUNNER_MOCK_CONTENT_SETTINGS_CLIENT_H_ |
| OLD | NEW |