Chromium Code Reviews| Index: blimp/engine/testing/app/blimp_content_main_delegate_for_test.h |
| diff --git a/blimp/engine/testing/app/blimp_content_main_delegate_for_test.h b/blimp/engine/testing/app/blimp_content_main_delegate_for_test.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..31bc53e851575d594cdc5d1eb0a39f297cce33fd |
| --- /dev/null |
| +++ b/blimp/engine/testing/app/blimp_content_main_delegate_for_test.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_BLIMP_CONTENT_MAIN_DELEGATE_FOR_TEST_H_ |
| +#define BLIMP_ENGINE_TESTING_APP_BLIMP_CONTENT_MAIN_DELEGATE_FOR_TEST_H_ |
| + |
| +#include <memory> |
| +#include <string> |
|
Kevin M
2017/01/09 20:17:18
Neither of these are used
shenghuazhang
2017/01/10 23:20:49
Done.
|
| + |
| +#include "blimp/engine/app/blimp_content_main_delegate.h" |
| + |
| +namespace blimp { |
| +namespace engine { |
| + |
| +class BlimpContentMainDelegateForTest : public BlimpContentMainDelegate { |
|
Kevin M
2017/01/09 20:17:18
Add a small comment about what this class does? He
shenghuazhang
2017/01/10 23:20:49
Done.
|
| + public: |
| + BlimpContentMainDelegateForTest(); |
| + ~BlimpContentMainDelegateForTest() = default; |
| + |
| + // Override content::ContentMainDelegate implementation |
|
Kevin M
2017/01/09 20:17:17
BlimpContentMainDelegate implementation.
shenghuazhang
2017/01/10 23:20:49
Done.
|
| + // in class BlimpContentMainDelegate. |
| + content::ContentBrowserClient* CreateContentBrowserClient() override; |
| +}; |
| + |
| +} // namespace engine |
| +} // namespace blimp |
| + |
| +#endif // BLIMP_ENGINE_TESTING_APP_BLIMP_CONTENT_MAIN_DELEGATE_FOR_TEST_H_ |