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

Unified Diff: components/resource_provider/resource_provider_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
Index: components/resource_provider/resource_provider_app.cc
diff --git a/components/resource_provider/resource_provider_app.cc b/components/resource_provider/resource_provider_app.cc
index f3e0ba5046c3e89d6929a0248e5c143cade64737..79e034d1f7eca465eb6f237e6fe8ff0d2d9e8ba3 100644
--- a/components/resource_provider/resource_provider_app.cc
+++ b/components/resource_provider/resource_provider_app.cc
@@ -21,8 +21,9 @@ ResourceProviderApp::ResourceProviderApp(
ResourceProviderApp::~ResourceProviderApp() {
}
-void ResourceProviderApp::Initialize(mojo::ApplicationImpl* app) {
- tracing_.Initialize(app);
+void ResourceProviderApp::Initialize(mojo::Shell* shell, const std::string& url,
+ uint32_t id) {
+ tracing_.Initialize(shell, url);
}
bool ResourceProviderApp::AcceptConnection(
« no previous file with comments | « components/resource_provider/resource_provider_app.h ('k') | components/resource_provider/resource_provider_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698