| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ios/web/app/web_main_runner.h" | |
| 6 #include "ios/web/public/app/web_main.h" | 5 #include "ios/web/public/app/web_main.h" |
| 6 #include "ios/web/public/app/web_main_runner.h" |
| 7 | 7 |
| 8 namespace web { | 8 namespace web { |
| 9 | 9 |
| 10 WebMain::WebMain(const WebMainParams& params) { | 10 WebMain::WebMain(const WebMainParams& params) { |
| 11 web_main_runner_.reset(WebMainRunner::Create()); | 11 web_main_runner_.reset(WebMainRunner::Create()); |
| 12 web_main_runner_->Initialize(params); | 12 web_main_runner_->Initialize(params); |
| 13 } | 13 } |
| 14 | 14 |
| 15 WebMain::~WebMain() { | 15 WebMain::~WebMain() { |
| 16 web_main_runner_->ShutDown(); | 16 web_main_runner_->ShutDown(); |
| 17 } | 17 } |
| 18 | 18 |
| 19 } // namespace web | 19 } // namespace web |
| OLD | NEW |