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

Unified Diff: remoting/host/host_status_observer.h

Issue 1499793003: Fix classes that have too many virtuals for inline constructors. Base URL: https://chromium.googlesource.com/chromium/src.git@enable-virtuals-as-complexity
Patch Set: Finish fixing the codebase that's accessible from Linux. Created 5 years 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/host_status_observer.h
diff --git a/remoting/host/host_status_observer.h b/remoting/host/host_status_observer.h
index eec5a5110a758ac62d6de0512e0a6295bc032a0b..2d48be751dcd5e77227c2eabcd79ea2576001b26 100644
--- a/remoting/host/host_status_observer.h
+++ b/remoting/host/host_status_observer.h
@@ -23,7 +23,6 @@ struct TransportRoute;
// on receipt of these callbacks; they are purely informational.
class HostStatusObserver {
public:
- HostStatusObserver() { }
virtual ~HostStatusObserver() { }
// Called when an unauthorized user attempts to connect to the host.
@@ -49,6 +48,9 @@ class HostStatusObserver {
// Called when the host shuts down.
virtual void OnShutdown() {}
+
+ protected:
+ HostStatusObserver() {}
};
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698