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

Unified Diff: chrome/test/in_process_browser_test.cc

Issue 7235023: Mac: Split SystemMonitor initialization so it's not blocked by the Sandbox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced to trunk Created 9 years, 6 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 | « chrome/browser/tabs/tab_strip_model_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/in_process_browser_test.cc
diff --git a/chrome/test/in_process_browser_test.cc b/chrome/test/in_process_browser_test.cc
index 5b512a2d7252121cc85b26bc9beb8202903644f3..0fe410a2dfe1f209dc95c0bc63107c96c988117f 100644
--- a/chrome/test/in_process_browser_test.cc
+++ b/chrome/test/in_process_browser_test.cc
@@ -43,6 +43,7 @@
#if defined(OS_MACOSX)
#include "base/mac/mac_util.h"
+#include "base/system_monitor/system_monitor.h"
#endif
#if defined(OS_WIN)
@@ -82,6 +83,7 @@ InProcessBrowserTest::InProcessBrowserTest()
tab_closeable_state_watcher_enabled_(false) {
#if defined(OS_MACOSX)
base::mac::SetOverrideAmIBundled(true);
+ base::SystemMonitor::AllocateSystemIOPorts();
#endif
// Before we run the browser, we have to hack the path to the exe to match
« no previous file with comments | « chrome/browser/tabs/tab_strip_model_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698