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

Unified Diff: components/resource_provider/resource_provider_app.cc

Issue 1675083002: Rename ApplicationDelegate to ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
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 79e034d1f7eca465eb6f237e6fe8ff0d2d9e8ba3..e62438ec83d0bea60e2d9430eb7b440a3bd1b234 100644
--- a/components/resource_provider/resource_provider_app.cc
+++ b/components/resource_provider/resource_provider_app.cc
@@ -8,7 +8,7 @@
#include "components/resource_provider/file_utils.h"
#include "components/resource_provider/resource_provider_impl.h"
-#include "mojo/shell/public/cpp/application_connection.h"
+#include "mojo/shell/public/cpp/connection.h"
#include "url/gurl.h"
namespace resource_provider {
@@ -26,8 +26,7 @@ void ResourceProviderApp::Initialize(mojo::Shell* shell, const std::string& url,
tracing_.Initialize(shell, url);
}
-bool ResourceProviderApp::AcceptConnection(
- mojo::ApplicationConnection* connection) {
+bool ResourceProviderApp::AcceptConnection(mojo::Connection* connection) {
const base::FilePath app_path(
GetPathForApplicationUrl(connection->GetRemoteApplicationURL()));
if (app_path.empty())
@@ -38,7 +37,7 @@ bool ResourceProviderApp::AcceptConnection(
}
void ResourceProviderApp::Create(
- mojo::ApplicationConnection* connection,
+ mojo::Connection* connection,
mojo::InterfaceRequest<ResourceProvider> request) {
const base::FilePath app_path(
GetPathForApplicationUrl(connection->GetRemoteApplicationURL()));
« 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