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

Unified Diff: ios/web/app/web_main_loop.mm

Issue 1406983008: [iOS] ios/web no longer depends on content::BrowserThread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/ios_chrome_tests.gyp ('k') | ios/web/ios_web.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/app/web_main_loop.mm
diff --git a/ios/web/app/web_main_loop.mm b/ios/web/app/web_main_loop.mm
index 9e56a3ec13e835ded34a180f6d450c4504cf3d86..fd7ddcc3f7a3bed873c97b1d7738f3a388772bdd 100644
--- a/ios/web/app/web_main_loop.mm
+++ b/ios/web/app/web_main_loop.mm
@@ -68,15 +68,12 @@ void WebMainLoop::MainMessageLoopStart() {
if (!base::MessageLoop::current()) {
main_message_loop_.reset(new base::MessageLoopForUI);
}
- // Note: In Chrome, Attach() is called in
- // ChromeBrowserMainPartsIOS::PreMainMessageLoopStart().
base::MessageLoopForUI::current()->Attach();
InitializeMainThread();
#if 0
- // TODO(droger): SystemMonitor is not working properly on iOS.
- // See http://crbug.com/228014.
+ // TODO(crbug.com/228014): SystemMonitor is not working properly on iOS.
system_monitor_.reset(new base::SystemMonitor);
#endif
// TODO(rohitrao): Do we need PowerMonitor on iOS, or can we get rid of it?
« no previous file with comments | « ios/chrome/ios_chrome_tests.gyp ('k') | ios/web/ios_web.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698