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

Unified Diff: content/browser/mojo_shell_browsertest.cc

Issue 1687693002: Rename ConnectToService to ConnectToInterface() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sp2
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: content/browser/mojo_shell_browsertest.cc
diff --git a/content/browser/mojo_shell_browsertest.cc b/content/browser/mojo_shell_browsertest.cc
index 75a263c2475ad8118362d60b0d65eeafaa306ba4..6f16b03f18e0ef9b92714a00eb64fd0cf6134475 100644
--- a/content/browser/mojo_shell_browsertest.cc
+++ b/content/browser/mojo_shell_browsertest.cc
@@ -38,7 +38,7 @@ IN_PROC_BROWSER_TEST_F(MojoShellTest, TestBrowserConnection) {
auto test_app = MojoAppConnection::Create(GURL(kInProcessTestMojoAppUrl),
GURL(kBrowserMojoAppUrl));
TestMojoServicePtr test_service;
- test_app->ConnectToService(&test_service);
+ test_app->GetInterface(&test_service);
base::RunLoop run_loop;
test_service->DoSomething(run_loop.QuitClosure());
@@ -52,7 +52,7 @@ IN_PROC_BROWSER_TEST_F(MojoShellTest, TestUtilityConnection) {
auto test_app = MojoAppConnection::Create(GURL(kTestMojoAppUrl),
GURL(kBrowserMojoAppUrl));
TestMojoServicePtr test_service;
- test_app->ConnectToService(&test_service);
+ test_app->GetInterface(&test_service);
base::RunLoop run_loop;
test_service->DoSomething(run_loop.QuitClosure());
« no previous file with comments | « content/browser/mojo/mojo_shell_client_host.cc ('k') | content/browser/renderer_host/render_widget_host_view_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698