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_loop.h" | 5 #include "ios/web/app/web_main_loop.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/command_line.h" | 10 #include "base/command_line.h" |
9 #include "base/logging.h" | 11 #include "base/logging.h" |
10 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
11 #include "base/metrics/histogram.h" | 13 #include "base/metrics/histogram.h" |
12 #include "base/path_service.h" | 14 #include "base/path_service.h" |
13 #include "base/power_monitor/power_monitor.h" | 15 #include "base/power_monitor/power_monitor.h" |
14 #include "base/power_monitor/power_monitor_device_source.h" | 16 #include "base/power_monitor/power_monitor_device_source.h" |
15 #include "base/process/process_metrics.h" | 17 #include "base/process/process_metrics.h" |
16 #include "base/system_monitor/system_monitor.h" | 18 #include "base/system_monitor/system_monitor.h" |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 main_thread_.reset( | 266 main_thread_.reset( |
265 new WebThreadImpl(WebThread::UI, base::MessageLoop::current())); | 267 new WebThreadImpl(WebThread::UI, base::MessageLoop::current())); |
266 } | 268 } |
267 | 269 |
268 int WebMainLoop::WebThreadsStarted() { | 270 int WebMainLoop::WebThreadsStarted() { |
269 cookie_notification_bridge_.reset(new CookieNotificationBridge); | 271 cookie_notification_bridge_.reset(new CookieNotificationBridge); |
270 return result_code_; | 272 return result_code_; |
271 } | 273 } |
272 | 274 |
273 } // namespace web | 275 } // namespace web |
OLD | NEW |