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

Unified Diff: athena/resource_manager/delegate/resource_manager_delegate.cc

Issue 641683003: C++11 override style change for athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase 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 | « athena/main/athena_views_delegate.cc ('k') | athena/resource_manager/memory_pressure_notifier_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/resource_manager/delegate/resource_manager_delegate.cc
diff --git a/athena/resource_manager/delegate/resource_manager_delegate.cc b/athena/resource_manager/delegate/resource_manager_delegate.cc
index 6b68594db2b1e12855985c6dd2307ffcaec96991..ee15b18f5dfa9f3801dbd00c6d4233089e208df0 100644
--- a/athena/resource_manager/delegate/resource_manager_delegate.cc
+++ b/athena/resource_manager/delegate/resource_manager_delegate.cc
@@ -21,10 +21,10 @@ const int kMemoryPressureIntervalMs = 750;
class ResourceManagerDelegateImpl : public ResourceManagerDelegate {
public:
ResourceManagerDelegateImpl() {}
- virtual ~ResourceManagerDelegateImpl() {}
+ ~ResourceManagerDelegateImpl() override {}
private:
- virtual int GetUsedMemoryInPercent() override {
+ int GetUsedMemoryInPercent() override {
base::SystemMemoryInfoKB info;
if (!base::GetSystemMemoryInfo(&info)) {
LOG(WARNING) << "Cannot determine the free memory of the system.";
@@ -61,7 +61,7 @@ class ResourceManagerDelegateImpl : public ResourceManagerDelegate {
return percentage;
}
- virtual int MemoryPressureIntervalInMS() override {
+ int MemoryPressureIntervalInMS() override {
return kMemoryPressureIntervalMs;
}
DISALLOW_COPY_AND_ASSIGN(ResourceManagerDelegateImpl);
« no previous file with comments | « athena/main/athena_views_delegate.cc ('k') | athena/resource_manager/memory_pressure_notifier_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698