| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 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 BLIMP_ENGINE_TESTING_APP_TEST_BLIMP_CONTENT_MAIN_DELEGATE_H_ |
| 6 #define BLIMP_ENGINE_TESTING_APP_TEST_BLIMP_CONTENT_MAIN_DELEGATE_H_ |
| 7 |
| 8 #include "blimp/engine/app/blimp_content_main_delegate.h" |
| 9 |
| 10 namespace blimp { |
| 11 namespace engine { |
| 12 |
| 13 // Blimp testing implementation of ContentMainDelegate. Class to extend |
| 14 // class BlimpContentMainDelegate for testing. I.e. This overrides method |
| 15 // CreateContentBrowserClient(), replacing the use of BlimpContentBrowserClient |
| 16 // by enabling TestBlimpContentBrowserClient. |
| 17 class TestBlimpContentMainDelegate : public BlimpContentMainDelegate { |
| 18 public: |
| 19 TestBlimpContentMainDelegate(); |
| 20 ~TestBlimpContentMainDelegate() = default; |
| 21 |
| 22 // BlimpContentMainDelegate implementation. |
| 23 content::ContentBrowserClient* CreateContentBrowserClient() override; |
| 24 }; |
| 25 |
| 26 } // namespace engine |
| 27 } // namespace blimp |
| 28 |
| 29 #endif // BLIMP_ENGINE_TESTING_APP_TEST_BLIMP_CONTENT_MAIN_DELEGATE_H_ |
| OLD | NEW |