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

Unified Diff: remoting/host/policy_hack/policy_watcher_linux.cc

Issue 660803004: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: remoting/host/policy_hack/policy_watcher_linux.cc
diff --git a/remoting/host/policy_hack/policy_watcher_linux.cc b/remoting/host/policy_hack/policy_watcher_linux.cc
index d67b49bf6096c52cbaabba860f6d6e8c8b86fcce..f4096b8507eee865a3fc8a3a50ea3ec802d64bb6 100644
--- a/remoting/host/policy_hack/policy_watcher_linux.cc
+++ b/remoting/host/policy_hack/policy_watcher_linux.cc
@@ -54,10 +54,10 @@ class PolicyWatcherLinux : public PolicyWatcher {
weak_factory_(this) {
}
- virtual ~PolicyWatcherLinux() {}
+ ~PolicyWatcherLinux() override {}
protected:
- virtual void StartWatchingInternal() override {
+ void StartWatchingInternal() override {
DCHECK(OnPolicyWatcherThread());
watcher_.reset(new base::FilePathWatcher());
@@ -77,7 +77,7 @@ class PolicyWatcherLinux : public PolicyWatcher {
ScheduleFallbackReloadTask();
}
- virtual void StopWatchingInternal() override {
+ void StopWatchingInternal() override {
DCHECK(OnPolicyWatcherThread());
// Stop watching for changes to files in the policies directory.
@@ -162,7 +162,7 @@ class PolicyWatcherLinux : public PolicyWatcher {
return policy.Pass();
}
- virtual void Reload() override {
+ void Reload() override {
DCHECK(OnPolicyWatcherThread());
// Check the directory time in order to see whether a reload is required.
base::TimeDelta delay;
« no previous file with comments | « remoting/host/pairing_registry_delegate_linux_unittest.cc ('k') | remoting/host/policy_hack/policy_watcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698