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

Unified Diff: mojo/public/cpp/bindings/tests/request_response_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/request_response_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/request_response_unittest.cc b/mojo/public/cpp/bindings/tests/request_response_unittest.cc
index a082a0954886eb7017a37d646aed34398cdd5e65..3755e64c67657b53b0bd0aa61234ce1a89e4fc71 100644
--- a/mojo/public/cpp/bindings/tests/request_response_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/request_response_unittest.cc
@@ -15,9 +15,8 @@ namespace {
class ProviderImpl : public InterfaceImpl<sample::Provider> {
public:
- virtual void EchoString(
- const String& a,
- const Callback<void(String)>& callback) MOJO_OVERRIDE {
+ virtual void EchoString(const String& a,
+ const Callback<void(String)>& callback) override {
Callback<void(String)> callback_copy;
// Make sure operator= is used.
callback_copy = callback;
@@ -27,19 +26,18 @@ class ProviderImpl : public InterfaceImpl<sample::Provider> {
virtual void EchoStrings(
const String& a,
const String& b,
- const Callback<void(String, String)>& callback) MOJO_OVERRIDE {
+ const Callback<void(String, String)>& callback) override {
callback.Run(a, b);
}
virtual void EchoMessagePipeHandle(
ScopedMessagePipeHandle a,
- const Callback<void(ScopedMessagePipeHandle)>& callback) MOJO_OVERRIDE {
+ const Callback<void(ScopedMessagePipeHandle)>& callback) override {
callback.Run(a.Pass());
}
virtual void EchoEnum(sample::Enum a,
- const Callback<void(sample::Enum)>& callback)
- MOJO_OVERRIDE {
+ const Callback<void(sample::Enum)>& callback) override {
callback.Run(a);
}
};
« no previous file with comments | « mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc ('k') | mojo/public/cpp/bindings/tests/router_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698