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

Unified Diff: chrome/browser/browser_process_impl.cc

Issue 7948006: Get rid of content::DidEndMainMessageLoop since it was declared in content but defined in chrome,... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.cc
===================================================================
--- chrome/browser/browser_process_impl.cc (revision 101872)
+++ chrome/browser/browser_process_impl.cc (working copy)
@@ -90,6 +90,8 @@
#if defined(OS_WIN)
#include "views/focus/view_storage.h"
+#elif defined(OS_MACOSX)
+#include "chrome/browser/chrome_browser_main_mac.h"
#endif
#if defined(IPC_MESSAGE_LOG_ENABLED)
@@ -319,8 +321,12 @@
io_thread()->message_loop()->PostTask(
FROM_HERE,
NewRunnableFunction(&base::ThreadRestrictions::SetIOAllowed, true));
+
+#if defined(OS_MACOSX)
MessageLoop::current()->PostTask(
- FROM_HERE, NewRunnableFunction(content::DidEndMainMessageLoop));
+ FROM_HERE,
+ NewRunnableFunction(ChromeBrowserMainPartsMac::DidEndMainMessageLoop));
+#endif
MessageLoop::current()->Quit();
}
return module_ref_count_;
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698