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

Unified Diff: athena/resource_manager/memory_pressure_notifier_unittest.cc

Issue 623103002: replace OVERRIDE and FINAL with override and final in athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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
Index: athena/resource_manager/memory_pressure_notifier_unittest.cc
diff --git a/athena/resource_manager/memory_pressure_notifier_unittest.cc b/athena/resource_manager/memory_pressure_notifier_unittest.cc
index 1156cf6621eec532a0013055b3d6eb46c522756c..0cbf3e77fd67cd26ab9e273d9de9d7c8ae64a119 100644
--- a/athena/resource_manager/memory_pressure_notifier_unittest.cc
+++ b/athena/resource_manager/memory_pressure_notifier_unittest.cc
@@ -17,12 +17,12 @@ class TestResourceManagerDelegate : public ResourceManagerDelegate {
TestResourceManagerDelegate() : memory_fill_level_percent_(0) {}
virtual ~TestResourceManagerDelegate() {}
- virtual int GetUsedMemoryInPercent() OVERRIDE {
+ virtual int GetUsedMemoryInPercent() override {
timer_called_++;
return memory_fill_level_percent_;
}
- virtual int MemoryPressureIntervalInMS() OVERRIDE {
+ virtual int MemoryPressureIntervalInMS() override {
return 5;
}
@@ -54,12 +54,12 @@ class TestMemoryPressureObserver : public MemoryPressureObserver {
// The observer.
virtual void OnMemoryPressure(
- ResourceManager::MemoryPressure pressure) OVERRIDE {
+ ResourceManager::MemoryPressure pressure) override {
number_of_calls_++;
pressure_ = pressure;
}
- virtual ResourceManagerDelegate* GetDelegate() OVERRIDE {
+ virtual ResourceManagerDelegate* GetDelegate() override {
return delegate_.get();
}
@@ -87,7 +87,7 @@ class MemoryPressureTest : public AthenaTestBase {
virtual ~MemoryPressureTest() {}
// AthenaTestBase:
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
AthenaTestBase::SetUp();
// Create and install our TestAppContentDelegate with instrumentation.
test_resource_manager_delegate_ =
@@ -98,7 +98,7 @@ class MemoryPressureTest : public AthenaTestBase {
new MemoryPressureNotifier(test_memory_pressure_observer_.get()));
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
memory_pressure_notifier_.reset();
RunAllPendingInMessageLoop();
test_memory_pressure_observer_.reset();
« no previous file with comments | « athena/resource_manager/delegate/resource_manager_delegate.cc ('k') | athena/resource_manager/resource_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698