Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: ios/web/app/web_main_loop.mm

Issue 2605913002: Fix include import in ios/web (Closed)
Patch Set: add missing #import Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ios/web/app/web_main_runner.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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> 7 #include <stddef.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
15 #include "base/metrics/histogram.h" 15 #include "base/metrics/histogram.h"
16 #include "base/path_service.h" 16 #include "base/path_service.h"
17 #include "base/power_monitor/power_monitor.h" 17 #include "base/power_monitor/power_monitor.h"
18 #include "base/power_monitor/power_monitor_device_source.h" 18 #include "base/power_monitor/power_monitor_device_source.h"
19 #include "base/process/process_metrics.h" 19 #include "base/process/process_metrics.h"
20 #include "base/system_monitor/system_monitor.h" 20 #include "base/system_monitor/system_monitor.h"
21 #include "base/task_scheduler/initialization_util.h" 21 #include "base/task_scheduler/initialization_util.h"
22 #include "base/task_scheduler/scheduler_worker_pool_params.h" 22 #include "base/task_scheduler/scheduler_worker_pool_params.h"
23 #include "base/task_scheduler/task_scheduler.h" 23 #include "base/task_scheduler/task_scheduler.h"
24 #include "base/task_scheduler/task_traits.h" 24 #include "base/task_scheduler/task_traits.h"
25 #include "base/threading/thread_restrictions.h" 25 #include "base/threading/thread_restrictions.h"
26 #include "ios/web/net/cookie_notification_bridge.h" 26 #import "ios/web/net/cookie_notification_bridge.h"
27 #include "ios/web/public/app/web_main_parts.h" 27 #include "ios/web/public/app/web_main_parts.h"
28 #include "ios/web/public/web_client.h" 28 #import "ios/web/public/web_client.h"
29 #include "ios/web/web_thread_impl.h" 29 #include "ios/web/web_thread_impl.h"
30 #include "ios/web/webui/url_data_manager_ios.h" 30 #include "ios/web/webui/url_data_manager_ios.h"
31 #include "net/base/network_change_notifier.h" 31 #include "net/base/network_change_notifier.h"
32 32
33 #if !defined(__has_feature) || !__has_feature(objc_arc) 33 #if !defined(__has_feature) || !__has_feature(objc_arc)
34 #error "This file requires ARC support." 34 #error "This file requires ARC support."
35 #endif 35 #endif
36 36
37 namespace web { 37 namespace web {
38 38
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 main_thread_.reset( 336 main_thread_.reset(
337 new WebThreadImpl(WebThread::UI, base::MessageLoop::current())); 337 new WebThreadImpl(WebThread::UI, base::MessageLoop::current()));
338 } 338 }
339 339
340 int WebMainLoop::WebThreadsStarted() { 340 int WebMainLoop::WebThreadsStarted() {
341 cookie_notification_bridge_.reset(new CookieNotificationBridge); 341 cookie_notification_bridge_.reset(new CookieNotificationBridge);
342 return result_code_; 342 return result_code_;
343 } 343 }
344 344
345 } // namespace web 345 } // namespace web
OLDNEW
« no previous file with comments | « no previous file | ios/web/app/web_main_runner.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698