Chromium Code Reviews| Index: blimp/engine/testing/app/blimp_content_browser_client_for_test.h |
| diff --git a/blimp/engine/testing/app/blimp_content_browser_client_for_test.h b/blimp/engine/testing/app/blimp_content_browser_client_for_test.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0accb798187e15d3b2ad854f6a7ef1a0d907504c |
| --- /dev/null |
| +++ b/blimp/engine/testing/app/blimp_content_browser_client_for_test.h |
| @@ -0,0 +1,32 @@ |
| +// 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_BROWSER_CLIENT_FOR_TEST_H_ |
| +#define BLIMP_ENGINE_TESTING_APP_BLIMP_CONTENT_BROWSER_CLIENT_FOR_TEST_H_ |
| + |
| +#include "blimp/engine/app/blimp_content_browser_client.h" |
| + |
| +namespace blimp { |
| +namespace engine { |
| + |
| +class BlimpBrowserMainParts; |
| + |
| +class BlimpContentBrowserClientForTest : public BlimpContentBrowserClient { |
|
Kevin M
2017/01/09 20:17:17
XYZForTest is more of a function naming convention
shenghuazhang
2017/01/10 23:20:49
Done.
|
| + public: |
| + BlimpContentBrowserClientForTest(); |
| + ~BlimpContentBrowserClientForTest() = default; |
| + |
| + // Override content::ContentBrowserClient implementation |
|
Kevin M
2017/01/09 20:17:17
int: "BlimpContentBrowserClient implementation"
shenghuazhang
2017/01/10 23:20:49
Done.
|
| + // in class BlimpContentBrowserClient. |
| + content::BrowserMainParts* CreateBrowserMainParts( |
| + const content::MainFunctionParams& parameters) override; |
| + |
| + private: |
| + BlimpBrowserMainParts* blimp_browser_main_parts_ = nullptr; |
| +}; |
| + |
| +} // namespace engine |
| +} // namespace blimp |
| + |
| +#endif // BLIMP_ENGINE_TESTING_APP_BLIMP_CONTENT_BROWSER_CLIENT_FOR_TEST_H_ |