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

Unified Diff: services/shell/background/tests/background_shell_unittest.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/background/background_shell.cc ('k') | services/shell/public/cpp/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/background/tests/background_shell_unittest.cc
diff --git a/services/shell/background/tests/background_shell_unittest.cc b/services/shell/background/tests/background_shell_unittest.cc
index 9d9c4012d63bffc13b40a6c3e0ac7541f5817569..b73c41ba685e386a2b2e429c14f48e1f980cdf6d 100644
--- a/services/shell/background/tests/background_shell_unittest.cc
+++ b/services/shell/background/tests/background_shell_unittest.cc
@@ -12,7 +12,7 @@
#include "services/shell/background/tests/test_catalog_store.h"
#include "services/shell/public/cpp/connector.h"
#include "services/shell/public/cpp/service.h"
-#include "services/shell/public/cpp/shell_connection.h"
+#include "services/shell/public/cpp/service_context.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace shell {
@@ -62,10 +62,10 @@ TEST(BackgroundShellTest, MAYBE_Basic) {
init_params->catalog_store = std::move(store_ptr);
background_shell.Init(std::move(init_params));
ServiceImpl service;
- ShellConnection shell_connection(
+ ServiceContext service_context(
&service, background_shell.CreateServiceRequest(kTestName));
mojom::TestServicePtr test_service;
- shell_connection.connector()->ConnectToInterface(
+ service_context.connector()->ConnectToInterface(
"mojo:background_shell_test_app", &test_service);
base::RunLoop run_loop;
bool got_result = false;
« no previous file with comments | « services/shell/background/background_shell.cc ('k') | services/shell/public/cpp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698