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

Unified Diff: content/common/service_manager/service_manager_connection_impl.cc

Issue 2695803004: Make browser process a singleton service (Closed)
Patch Set: . Created 3 years, 10 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 | « content/common/service_manager/service_manager_connection_impl.h ('k') | content/content_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/service_manager/service_manager_connection_impl.cc
diff --git a/content/common/service_manager/service_manager_connection_impl.cc b/content/common/service_manager/service_manager_connection_impl.cc
index 26f75d97eea463421adca445c7d69085695d5046..8be6e76bb4f4390d97471174afd4a1215dc0db6f 100644
--- a/content/common/service_manager/service_manager_connection_impl.cc
+++ b/content/common/service_manager/service_manager_connection_impl.cc
@@ -439,12 +439,6 @@ void ServiceManagerConnectionImpl::Start() {
weak_factory_.GetWeakPtr()));
}
-void ServiceManagerConnectionImpl::SetInitializeHandler(
- const base::Closure& handler) {
- DCHECK(initialize_handler_.is_null());
- initialize_handler_ = handler;
-}
-
service_manager::Connector* ServiceManagerConnectionImpl::GetConnector() {
return connector_.get();
}
@@ -523,8 +517,6 @@ void ServiceManagerConnectionImpl::CreateService(
void ServiceManagerConnectionImpl::OnContextInitialized(
const service_manager::Identity& identity) {
identity_ = identity;
- if (!initialize_handler_.is_null())
- base::ResetAndReturn(&initialize_handler_).Run();
}
void ServiceManagerConnectionImpl::OnConnectionLost() {
« no previous file with comments | « content/common/service_manager/service_manager_connection_impl.h ('k') | content/content_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698