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

Unified Diff: components/font_service/font_service_app.cc

Issue 1674903003: Extract shell methods from ApplicationImpl into a base class, and pass this to Initialize() instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojom
Patch Set: . Created 4 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 | « components/font_service/font_service_app.h ('k') | components/font_service/public/cpp/font_loader.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 b2c3297d7549667d105116e45c8c37e023b0f57d..7618296a4a197a6bdb8526e80df40b6bb9148191 100644
--- a/components/font_service/font_service_app.cc
+++ b/components/font_service/font_service_app.cc
@@ -58,8 +58,9 @@ FontServiceApp::FontServiceApp() {}
FontServiceApp::~FontServiceApp() {}
-void FontServiceApp::Initialize(mojo::ApplicationImpl* app) {
- tracing_.Initialize(app);
+void FontServiceApp::Initialize(mojo::Shell* shell, const std::string& url,
+ uint32_t id) {
+ tracing_.Initialize(shell, url);
}
bool FontServiceApp::AcceptConnection(
« no previous file with comments | « components/font_service/font_service_app.h ('k') | components/font_service/public/cpp/font_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698