| Index: blimp/engine/testing/app/test_blimp_content_browser_client.cc
|
| diff --git a/blimp/engine/testing/app/test_blimp_content_browser_client.cc b/blimp/engine/testing/app/test_blimp_content_browser_client.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..da79fad8e7f2690c36d884e3ad07057536e44e66
|
| --- /dev/null
|
| +++ b/blimp/engine/testing/app/test_blimp_content_browser_client.cc
|
| @@ -0,0 +1,24 @@
|
| +// 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.
|
| +
|
| +#include "blimp/engine/testing/app/test_blimp_content_browser_client.h"
|
| +
|
| +#include "blimp/engine/testing/app/test_blimp_browser_main_parts.h"
|
| +
|
| +namespace blimp {
|
| +namespace engine {
|
| +
|
| +TestBlimpContentBrowserClient::TestBlimpContentBrowserClient() {}
|
| +
|
| +content::BrowserMainParts*
|
| +TestBlimpContentBrowserClient::CreateBrowserMainParts(
|
| + const content::MainFunctionParams& parameters) {
|
| + blimp_browser_main_parts_ = new TestBlimpBrowserMainParts(parameters);
|
| + SetBrowserMainPartsForTesting(blimp_browser_main_parts_);
|
| + // BrowserMainLoop takes ownership of the returned BrowserMainParts.
|
| + return blimp_browser_main_parts_;
|
| +}
|
| +
|
| +} // namespace engine
|
| +} // namespace blimp
|
|
|