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

Unified Diff: content/browser/browser_context.cc

Issue 2729733003: Change ServiceManagerConnectionImpl to run service request handlers on the IO thread. (Closed)
Patch Set: Fix startup race. Created 3 years, 9 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
Index: content/browser/browser_context.cc
diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc
index 08c55b867aa2a6bdd09cf4eb2b1a618aea89fd0b..638e0ecc2ff862914320523ccebf325b8decfda3 100644
--- a/content/browser/browser_context.cc
+++ b/content/browser/browser_context.cc
@@ -450,7 +450,6 @@ void BrowserContext::Initialize(
ServiceManagerConnection* connection =
connection_holder->service_manager_connection();
- connection->Start();
// New embedded service factories should be added to |connection| here.
@@ -469,6 +468,7 @@ void BrowserContext::Initialize(
for (const auto& entry : services) {
connection->AddEmbeddedService(entry.first, entry.second);
}
+ connection->Start();
}
}
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | content/browser/service_manager/service_manager_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698