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

Unified Diff: services/shell/tests/lifecycle/app_client.cc

Issue 2131493002: ShellConnection -> ServiceContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@st
Patch Set: . Created 4 years, 5 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 | « services/shell/tests/lifecycle/app_client.h ('k') | services/shell/tests/lifecycle/package.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/tests/lifecycle/app_client.cc
diff --git a/services/shell/tests/lifecycle/app_client.cc b/services/shell/tests/lifecycle/app_client.cc
index 4cba82307168b03b722135603b62bb8715986d87..68ca273dd37172f309667fa83b458164f54f97f1 100644
--- a/services/shell/tests/lifecycle/app_client.cc
+++ b/services/shell/tests/lifecycle/app_client.cc
@@ -4,14 +4,14 @@
#include "services/shell/tests/lifecycle/app_client.h"
-#include "services/shell/public/cpp/shell_connection.h"
+#include "services/shell/public/cpp/service_context.h"
namespace shell {
namespace test {
AppClient::AppClient() {}
AppClient::AppClient(shell::mojom::ServiceRequest request)
- : connection_(new ShellConnection(this, std::move(request))) {}
+ : context_(new ServiceContext(this, std::move(request))) {}
AppClient::~AppClient() {}
bool AppClient::OnConnect(Connection* connection) {
@@ -41,7 +41,7 @@ void AppClient::Crash() {
void AppClient::CloseShellConnection() {
DCHECK(runner_);
- runner_->DestroyShellConnection();
+ runner_->DestroyServiceContext();
// Quit the app once the caller goes away.
bindings_.set_connection_error_handler(
base::Bind(&AppClient::BindingLost, base::Unretained(this)));
« no previous file with comments | « services/shell/tests/lifecycle/app_client.h ('k') | services/shell/tests/lifecycle/package.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698