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

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

Issue 1755003002: Remove MOJO_DISALLOW_COPY_AND_ASSIGN and MOJO_ALLOW_UNUSED_LOCAL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 | « mojo/public/cpp/bindings/message.h ('k') | mojo/public/cpp/bindings/tests/bindings_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/tests/binding_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/binding_unittest.cc b/mojo/public/cpp/bindings/tests/binding_unittest.cc
index 1949c21d85b0094e55495f44c4094f69f1415ec7..6e8e578dff9161848fc8678e5653a71637daf1f1 100644
--- a/mojo/public/cpp/bindings/tests/binding_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/binding_unittest.cc
@@ -32,7 +32,7 @@ class BindingTestBase : public testing::Test {
private:
base::MessageLoop loop_;
- MOJO_DISALLOW_COPY_AND_ASSIGN(BindingTestBase);
+ DISALLOW_COPY_AND_ASSIGN(BindingTestBase);
};
class ServiceImpl : public sample::Service {
@@ -56,7 +56,7 @@ class ServiceImpl : public sample::Service {
bool* const was_deleted_;
- MOJO_DISALLOW_COPY_AND_ASSIGN(ServiceImpl);
+ DISALLOW_COPY_AND_ASSIGN(ServiceImpl);
};
// BindingTest -----------------------------------------------------------------
@@ -181,7 +181,7 @@ class ServiceImplWithBinding : public ServiceImpl {
Binding<sample::Service> binding_;
base::Closure closure_;
- MOJO_DISALLOW_COPY_AND_ASSIGN(ServiceImplWithBinding);
+ DISALLOW_COPY_AND_ASSIGN(ServiceImplWithBinding);
};
// Tests that the binding may be deleted in the connection error handler.
@@ -251,7 +251,7 @@ class IntegerAccessorImpl : public sample::IntegerAccessor {
}
void SetInteger(int64_t data, sample::Enum type) override {}
- MOJO_DISALLOW_COPY_AND_ASSIGN(IntegerAccessorImpl);
+ DISALLOW_COPY_AND_ASSIGN(IntegerAccessorImpl);
};
TEST_F(BindingTest, SetInterfacePtrVersion) {
@@ -362,7 +362,7 @@ class ServiceImplWithStrongBinding : public ServiceImpl {
private:
StrongBinding<sample::Service> binding_;
- MOJO_DISALLOW_COPY_AND_ASSIGN(ServiceImplWithStrongBinding);
+ DISALLOW_COPY_AND_ASSIGN(ServiceImplWithStrongBinding);
};
// Tests the typical case, where the implementation object owns the
« no previous file with comments | « mojo/public/cpp/bindings/message.h ('k') | mojo/public/cpp/bindings/tests/bindings_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698