| 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" | 5 #include "ios/web/app/web_main_runner.h" |
| 6 | 6 |
| 7 #include "base/at_exit.h" | 7 #include "base/at_exit.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/i18n/icu_util.h" | 9 #include "base/i18n/icu_util.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/macros.h" |
| 11 #include "base/metrics/statistics_recorder.h" | 12 #include "base/metrics/statistics_recorder.h" |
| 12 #include "ios/web/app/web_main_loop.h" | 13 #include "ios/web/app/web_main_loop.h" |
| 13 #include "ios/web/public/url_schemes.h" | 14 #include "ios/web/public/url_schemes.h" |
| 14 #include "ios/web/public/web_client.h" | 15 #include "ios/web/public/web_client.h" |
| 15 #include "ui/base/ui_base_paths.h" | 16 #include "ui/base/ui_base_paths.h" |
| 16 | 17 |
| 17 namespace web { | 18 namespace web { |
| 18 | 19 |
| 19 class WebMainRunnerImpl : public WebMainRunner { | 20 class WebMainRunnerImpl : public WebMainRunner { |
| 20 public: | 21 public: |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 117 |
| 117 DISALLOW_COPY_AND_ASSIGN(WebMainRunnerImpl); | 118 DISALLOW_COPY_AND_ASSIGN(WebMainRunnerImpl); |
| 118 }; | 119 }; |
| 119 | 120 |
| 120 // static | 121 // static |
| 121 WebMainRunner* WebMainRunner::Create() { | 122 WebMainRunner* WebMainRunner::Create() { |
| 122 return new WebMainRunnerImpl(); | 123 return new WebMainRunnerImpl(); |
| 123 } | 124 } |
| 124 | 125 |
| 125 } // namespace web | 126 } // namespace web |
| OLD | NEW |