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

Unified Diff: mojo/public/cpp/bindings/tests/validation_unittest.cc

Issue 617503003: Mojo: MOJO_OVERRIDE -> override in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 3 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: mojo/public/cpp/bindings/tests/validation_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/validation_unittest.cc b/mojo/public/cpp/bindings/tests/validation_unittest.cc
index 35a3e525463beb2221fc3ef09b97bed5266bc2c4..da2fb72e9bf58c945c37cf8a016e82b9c7496ac7 100644
--- a/mojo/public/cpp/bindings/tests/validation_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/validation_unittest.cc
@@ -180,7 +180,7 @@ void RunValidationTests(const std::string& prefix,
class DummyMessageReceiver : public MessageReceiver {
public:
- virtual bool Accept(Message* message) MOJO_OVERRIDE {
+ virtual bool Accept(Message* message) override {
return true; // Any message is OK.
}
};
@@ -202,7 +202,7 @@ class ValidationIntegrationTest : public ValidationTest {
virtual ~ValidationIntegrationTest() {
}
- virtual void SetUp() MOJO_OVERRIDE {
+ virtual void SetUp() override {
ScopedMessagePipeHandle tester_endpoint;
ASSERT_EQ(MOJO_RESULT_OK,
CreateMessagePipe(NULL, &tester_endpoint, &testee_endpoint_));
@@ -210,7 +210,7 @@ class ValidationIntegrationTest : public ValidationTest {
new TestMessageReceiver(this, tester_endpoint.Pass());
}
- virtual void TearDown() MOJO_OVERRIDE {
+ virtual void TearDown() override {
delete test_message_receiver_;
test_message_receiver_ = NULL;
@@ -238,7 +238,7 @@ class ValidationIntegrationTest : public ValidationTest {
virtual ~TestMessageReceiver() {
}
- virtual bool Accept(Message* message) MOJO_OVERRIDE {
+ virtual bool Accept(Message* message) override {
bool rv = connector_.Accept(message);
owner_->PumpMessages();
return rv;
@@ -263,8 +263,7 @@ class IntegrationTestInterface1Client : public IntegrationTestInterface1 {
virtual ~IntegrationTestInterface1Client() {
}
- virtual void Method0(BasicStructPtr param0) MOJO_OVERRIDE {
- }
+ virtual void Method0(BasicStructPtr param0) override {}
};
class IntegrationTestInterface1Impl
@@ -273,8 +272,7 @@ class IntegrationTestInterface1Impl
virtual ~IntegrationTestInterface1Impl() {
}
- virtual void Method0(BasicStructPtr param0) MOJO_OVERRIDE {
- }
+ virtual void Method0(BasicStructPtr param0) override {}
};
TEST_F(ValidationTest, InputParser) {
« no previous file with comments | « mojo/public/cpp/bindings/tests/sample_service_unittest.cc ('k') | mojo/public/cpp/environment/lib/default_async_waiter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698