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

Unified Diff: base/test/test_support_android.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/test/test_suite.cc ('k') | base/threading/non_thread_safe_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_support_android.cc
diff --git a/base/test/test_support_android.cc b/base/test/test_support_android.cc
index 4ada5678053217dcbd01121e66fdbec71fd449fc..eeab9eeefdc7ea73044976e92e91cbc299bd00cd 100644
--- a/base/test/test_support_android.cc
+++ b/base/test/test_support_android.cc
@@ -74,12 +74,12 @@ class Waitable {
class MessagePumpForUIStub : public base::MessagePumpForUI {
virtual ~MessagePumpForUIStub() {}
- virtual void Start(base::MessagePump::Delegate* delegate) OVERRIDE {
+ virtual void Start(base::MessagePump::Delegate* delegate) override {
NOTREACHED() << "The Start() method shouldn't be called in test, using"
" Run() method should be used.";
}
- virtual void Run(base::MessagePump::Delegate* delegate) OVERRIDE {
+ virtual void Run(base::MessagePump::Delegate* delegate) override {
// The following was based on message_pump_glib.cc, except we're using a
// WaitableEvent since there are no native message loop to use.
RunState state(delegate, g_state ? g_state->run_depth + 1 : 1);
@@ -119,16 +119,16 @@ class MessagePumpForUIStub : public base::MessagePumpForUI {
g_state = previous_state;
}
- virtual void Quit() OVERRIDE {
+ virtual void Quit() override {
Waitable::GetInstance()->Quit();
}
- virtual void ScheduleWork() OVERRIDE {
+ virtual void ScheduleWork() override {
Waitable::GetInstance()->Signal();
}
virtual void ScheduleDelayedWork(
- const base::TimeTicks& delayed_work_time) OVERRIDE {
+ const base::TimeTicks& delayed_work_time) override {
Waitable::GetInstance()->Signal();
}
};
« no previous file with comments | « base/test/test_suite.cc ('k') | base/threading/non_thread_safe_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698