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

Unified Diff: services/service_manager/public/cpp/lib/identity.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/public/cpp/lib/identity.cc
diff --git a/services/service_manager/public/cpp/lib/identity.cc b/services/service_manager/public/cpp/lib/identity.cc
index 4fa2ff2abbb7a76151071a127f05241f00d419e5..409bee11b6cdfe8dc9837e9cfc4915d71be292c9 100644
--- a/services/service_manager/public/cpp/lib/identity.cc
+++ b/services/service_manager/public/cpp/lib/identity.cc
@@ -5,10 +5,11 @@
#include "services/service_manager/public/cpp/identity.h"
#include "base/guid.h"
+#include "services/service_manager/public/interfaces/connector.mojom.h"
namespace service_manager {
-Identity::Identity() {}
+Identity::Identity() : Identity("", mojom::kInheritUserID, "") {}
Identity::Identity(const std::string& name, const std::string& user_id)
: Identity(name, user_id, "") {}

Powered by Google App Engine
This is Rietveld 408576698