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

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

Issue 1832813002: Add mojom module suffix in .mojom files in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/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 be8c902c77822d27147d925f918a298ba05677d5..1ed365ec89832cde24b335c9d6ae6122c1d4c9ed 100644
--- a/content/public/test/test_mojo_app.h
+++ b/content/public/test/test_mojo_app.h
@@ -15,11 +15,12 @@ namespace content {
extern const char kTestMojoAppUrl[];
-// Simple Mojo app which provides a TestMojoService impl. The app terminates
+// Simple Mojo app which provides a mojom::TestMojoService impl. The app
+// terminates
Tom Sepez 2016/03/25 15:42:27 nit: format
leonhsl(Using Gerrit) 2016/03/26 14:34:30 Done.
// itself after its TestService fulfills a single DoSomething call.
class TestMojoApp : public mojo::ShellClient,
- public mojo::InterfaceFactory<TestMojoService>,
- public TestMojoService {
+ public mojo::InterfaceFactory<mojom::TestMojoService>,
+ public mojom::TestMojoService {
public:
TestMojoApp();
~TestMojoApp() override;
@@ -28,15 +29,15 @@ class TestMojoApp : public mojo::ShellClient,
// mojo::ShellClient:
bool AcceptConnection(mojo::Connection* connection) override;
- // mojo::InterfaceFactory<TestMojoService>:
+ // mojo::InterfaceFactory<mojom::TestMojoService>:
void Create(mojo::Connection* connection,
- mojo::InterfaceRequest<TestMojoService> request) override;
+ mojo::InterfaceRequest<mojom::TestMojoService> request) override;
// TestMojoService:
void DoSomething(const DoSomethingCallback& callback) override;
void GetRequestorName(const GetRequestorNameCallback& callback) override;
- mojo::Binding<TestMojoService> service_binding_;
+ mojo::Binding<mojom::TestMojoService> service_binding_;
// The name of the app connecting to us.
std::string requestor_name_;

Powered by Google App Engine
This is Rietveld 408576698