| 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 #include "blimp/engine/testing/app/test_blimp_content_browser_client.h" |
| 6 |
| 7 #include "blimp/engine/testing/app/test_blimp_browser_main_parts.h" |
| 8 |
| 9 namespace blimp { |
| 10 namespace engine { |
| 11 |
| 12 TestBlimpContentBrowserClient::TestBlimpContentBrowserClient() {} |
| 13 |
| 14 content::BrowserMainParts* |
| 15 TestBlimpContentBrowserClient::CreateBrowserMainParts( |
| 16 const content::MainFunctionParams& parameters) { |
| 17 blimp_browser_main_parts_ = new TestBlimpBrowserMainParts(parameters); |
| 18 SetBrowserMainPartsForTesting(blimp_browser_main_parts_); |
| 19 // BrowserMainLoop takes ownership of the returned BrowserMainParts. |
| 20 return blimp_browser_main_parts_; |
| 21 } |
| 22 |
| 23 } // namespace engine |
| 24 } // namespace blimp |
| OLD | NEW |