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

Unified Diff: remoting/test/remote_connection_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/test/remote_connection_observer.h
diff --git a/remoting/test/remote_connection_observer.h b/remoting/test/remote_connection_observer.h
index 99da8be2fd51c760feb4685e2fc6b7727e643cb3..819d4151a20d1d898dd79ea5bfecee71a5b087e9 100644
--- a/remoting/test/remote_connection_observer.h
+++ b/remoting/test/remote_connection_observer.h
@@ -22,7 +22,6 @@ namespace test {
// purposes only.
class RemoteConnectionObserver {
public:
- RemoteConnectionObserver() {}
virtual ~RemoteConnectionObserver() {}
// Called when the connection state has changed.
@@ -47,6 +46,9 @@ class RemoteConnectionObserver {
// Called when we have received an ExtensionMessage from the host.
virtual void HostMessageReceived(const protocol::ExtensionMessage& message) {}
+ protected:
+ RemoteConnectionObserver() {}
+
private:
DISALLOW_COPY_AND_ASSIGN(RemoteConnectionObserver);
};

Powered by Google App Engine
This is Rietveld 408576698