Index: content/public/test/test_mojo_app.cc |
diff --git a/content/public/test/test_mojo_app.cc b/content/public/test/test_mojo_app.cc |
index 4fb1b271d4479272f9b91bee70cffdc2ab409373..7c5fdb94c1bddb7c2a825735a87c0524a72d11d2 100644 |
--- a/content/public/test/test_mojo_app.cc |
+++ b/content/public/test/test_mojo_app.cc |
@@ -22,7 +22,7 @@ TestMojoApp::~TestMojoApp() { |
} |
bool TestMojoApp::AcceptConnection(mojo::Connection* connection) { |
- requestor_url_ = GURL(connection->GetRemoteApplicationURL()); |
+ requestor_name_ = connection->GetRemoteApplicationName(); |
connection->AddInterface<TestMojoService>(this); |
return true; |
} |
@@ -38,8 +38,8 @@ void TestMojoApp::DoSomething(const DoSomethingCallback& callback) { |
base::MessageLoop::current()->QuitWhenIdle(); |
} |
-void TestMojoApp::GetRequestorURL(const GetRequestorURLCallback& callback) { |
- callback.Run(requestor_url_.spec()); |
+void TestMojoApp::GetRequestorName(const GetRequestorNameCallback& callback) { |
+ callback.Run(requestor_name_); |
} |
} // namespace content |