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

Unified Diff: base/posix/file_descriptor_shuffle_unittest.cc

Issue 611153004: replace OVERRIDE and FINAL with override and final in base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CC_ -> BASE_ Created 6 years, 2 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 | « base/posix/file_descriptor_shuffle.h ('k') | base/power_monitor/power_monitor_device_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/posix/file_descriptor_shuffle_unittest.cc
diff --git a/base/posix/file_descriptor_shuffle_unittest.cc b/base/posix/file_descriptor_shuffle_unittest.cc
index 9e1b25000e203796659f0bf2caad2de4df084b3d..b12c90910bfdd634ba0db0318cee80fac369fe07 100644
--- a/base/posix/file_descriptor_shuffle_unittest.cc
+++ b/base/posix/file_descriptor_shuffle_unittest.cc
@@ -44,18 +44,18 @@ class InjectionTracer : public InjectionDelegate {
: next_duplicate_(kDuplicateBase) {
}
- virtual bool Duplicate(int* result, int fd) OVERRIDE {
+ virtual bool Duplicate(int* result, int fd) override {
*result = next_duplicate_++;
actions_.push_back(Action(Action::DUPLICATE, *result, fd));
return true;
}
- virtual bool Move(int src, int dest) OVERRIDE {
+ virtual bool Move(int src, int dest) override {
actions_.push_back(Action(Action::MOVE, src, dest));
return true;
}
- virtual void Close(int fd) OVERRIDE {
+ virtual void Close(int fd) override {
actions_.push_back(Action(Action::CLOSE, fd));
}
@@ -250,15 +250,15 @@ TEST(FileDescriptorShuffleTest, FanoutAndClose3) {
class FailingDelegate : public InjectionDelegate {
public:
- virtual bool Duplicate(int* result, int fd) OVERRIDE {
+ virtual bool Duplicate(int* result, int fd) override {
return false;
}
- virtual bool Move(int src, int dest) OVERRIDE {
+ virtual bool Move(int src, int dest) override {
return false;
}
- virtual void Close(int fd) OVERRIDE {}
+ virtual void Close(int fd) override {}
};
TEST(FileDescriptorShuffleTest, EmptyWithFailure) {
« no previous file with comments | « base/posix/file_descriptor_shuffle.h ('k') | base/power_monitor/power_monitor_device_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698