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

Unified Diff: content/public/test/test_mojo_app.h

Issue 1743473002: Change Mojo URLs to structured names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@18collapse
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
« no previous file with comments | « content/public/browser/mojo_app_connection.h ('k') | content/public/test/test_mojo_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_mojo_app.h
diff --git a/content/public/test/test_mojo_app.h b/content/public/test/test_mojo_app.h
index 0ce330a242fc452231bd6efdff59fec2c796403b..be8c902c77822d27147d925f918a298ba05677d5 100644
--- a/content/public/test/test_mojo_app.h
+++ b/content/public/test/test_mojo_app.h
@@ -10,7 +10,6 @@
#include "mojo/public/cpp/bindings/binding.h"
#include "mojo/shell/public/cpp/interface_factory.h"
#include "mojo/shell/public/cpp/shell_client.h"
-#include "url/gurl.h"
namespace content {
@@ -35,12 +34,12 @@ class TestMojoApp : public mojo::ShellClient,
// TestMojoService:
void DoSomething(const DoSomethingCallback& callback) override;
- void GetRequestorURL(const GetRequestorURLCallback& callback) override;
+ void GetRequestorName(const GetRequestorNameCallback& callback) override;
mojo::Binding<TestMojoService> service_binding_;
- // The URL of the app connecting to us.
- GURL requestor_url_;
+ // The name of the app connecting to us.
+ std::string requestor_name_;
DISALLOW_COPY_AND_ASSIGN(TestMojoApp);
};
« no previous file with comments | « content/public/browser/mojo_app_connection.h ('k') | content/public/test/test_mojo_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698