| Index: blimp/engine/testing/app/test_blimp_content_main_delegate.h
|
| diff --git a/blimp/engine/testing/app/test_blimp_content_main_delegate.h b/blimp/engine/testing/app/test_blimp_content_main_delegate.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e2ebbfb15566a4f65dd6ee5a1aee9fe0c860c939
|
| --- /dev/null
|
| +++ b/blimp/engine/testing/app/test_blimp_content_main_delegate.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef BLIMP_ENGINE_TESTING_APP_TEST_BLIMP_CONTENT_MAIN_DELEGATE_H_
|
| +#define BLIMP_ENGINE_TESTING_APP_TEST_BLIMP_CONTENT_MAIN_DELEGATE_H_
|
| +
|
| +#include "blimp/engine/app/blimp_content_main_delegate.h"
|
| +
|
| +namespace blimp {
|
| +namespace engine {
|
| +
|
| +// Blimp testing implementation of ContentMainDelegate. Class to extend
|
| +// class BlimpContentMainDelegate for testing. I.e. This overrides method
|
| +// CreateContentBrowserClient(), replacing the use of BlimpContentBrowserClient
|
| +// by enabling TestBlimpContentBrowserClient.
|
| +class TestBlimpContentMainDelegate : public BlimpContentMainDelegate {
|
| + public:
|
| + TestBlimpContentMainDelegate();
|
| + ~TestBlimpContentMainDelegate() = default;
|
| +
|
| + // BlimpContentMainDelegate implementation.
|
| + content::ContentBrowserClient* CreateContentBrowserClient() override;
|
| +};
|
| +
|
| +} // namespace engine
|
| +} // namespace blimp
|
| +
|
| +#endif // BLIMP_ENGINE_TESTING_APP_TEST_BLIMP_CONTENT_MAIN_DELEGATE_H_
|
|
|