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

Unified Diff: mojo/services/network/network_service_delegate.cc

Issue 1769163002: Add a instance groups to Connect(), and introduce an Identity struct. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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
« no previous file with comments | « mojo/services/network/network_service_delegate.h ('k') | mojo/services/package_manager/package_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/network_service_delegate.cc
diff --git a/mojo/services/network/network_service_delegate.cc b/mojo/services/network/network_service_delegate.cc
index aadc5cac848b8d14bb531692ea8dc3a570fd4bc0..b2573317f66c0b59075cfe3c50715945eb8d3aa7 100644
--- a/mojo/services/network/network_service_delegate.cc
+++ b/mojo/services/network/network_service_delegate.cc
@@ -48,8 +48,7 @@ void NetworkServiceDelegate::RemoveObserver(
}
void NetworkServiceDelegate::Initialize(Connector* connector,
- const std::string& name,
- const std::string& user_id,
+ const Identity& identity,
uint32_t id) {
// TODO(erg): Find everything else that writes to the filesystem and
// transition it to proxying mojo:filesystem. We shouldn't have any path
@@ -67,7 +66,7 @@ void NetworkServiceDelegate::Initialize(Connector* connector,
}
context_.reset(new NetworkContext(base_path, this));
- tracing_.Initialize(connector, name);
+ tracing_.Initialize(connector, identity.name());
}
bool NetworkServiceDelegate::AcceptConnection(Connection* connection) {
« no previous file with comments | « mojo/services/network/network_service_delegate.h ('k') | mojo/services/package_manager/package_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698