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

Unified Diff: components/font_service/font_service_app.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 | « components/font_service/font_service_app.h ('k') | components/leveldb/leveldb_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/font_service/font_service_app.cc
diff --git a/components/font_service/font_service_app.cc b/components/font_service/font_service_app.cc
index d0c0c1c5d167c9956f3d27c2ca69b6ddeba62deb..6e73b9996236866fa043120d74c8a69638f49cd5 100644
--- a/components/font_service/font_service_app.cc
+++ b/components/font_service/font_service_app.cc
@@ -59,9 +59,9 @@ FontServiceApp::FontServiceApp() {}
FontServiceApp::~FontServiceApp() {}
void FontServiceApp::Initialize(mojo::Connector* connector,
- const std::string& url,
- const std::string& user_id, uint32_t id) {
- tracing_.Initialize(connector, url);
+ const mojo::Identity& identity,
+ uint32_t id) {
+ tracing_.Initialize(connector, identity.name());
}
bool FontServiceApp::AcceptConnection(mojo::Connection* connection) {
« no previous file with comments | « components/font_service/font_service_app.h ('k') | components/leveldb/leveldb_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698