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

Unified Diff: services/service_manager/connect_params.cc

Issue 2804373002: Eliminate Connector::Connect(), Connection, etc. (Closed)
Patch Set: . Created 3 years, 8 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: services/service_manager/connect_params.cc
diff --git a/services/service_manager/connect_params.cc b/services/service_manager/connect_params.cc
index e8464a8b04b213d995c29c426d5b148f78b7fb78..7947a756eb508700cb8578b18f4c45113ebbf46a 100644
--- a/services/service_manager/connect_params.cc
+++ b/services/service_manager/connect_params.cc
@@ -7,6 +7,9 @@
namespace service_manager {
ConnectParams::ConnectParams() {}
-ConnectParams::~ConnectParams() {}
+ConnectParams::~ConnectParams() {
+ if (!start_service_callback_.is_null())
Ken Rockot(use gerrit already) 2017/04/11 23:29:44 this is pretty goofy but i guess it's alright for
+ start_service_callback_.Run(result_, resolved_identity_);
+}
} // namespace service_manager

Powered by Google App Engine
This is Rietveld 408576698