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

Unified Diff: remoting/host/native_messaging/native_messaging_pipe.h

Issue 667123002: Standardize usage of virtual/override/final in remoting/ (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
« no previous file with comments | « remoting/host/mouse_clamping_filter.h ('k') | remoting/host/native_messaging/pipe_messaging_channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/native_messaging/native_messaging_pipe.h
diff --git a/remoting/host/native_messaging/native_messaging_pipe.h b/remoting/host/native_messaging/native_messaging_pipe.h
index 24a16f702bbe83965b8494d9995ace10bc15fd98..927b8d3ffe25c916b61a4c8a283f6fc5c30b06a4 100644
--- a/remoting/host/native_messaging/native_messaging_pipe.h
+++ b/remoting/host/native_messaging/native_messaging_pipe.h
@@ -22,7 +22,7 @@ class NativeMessagingPipe
public extensions::NativeMessageHost::Client {
public:
NativeMessagingPipe();
- virtual ~NativeMessagingPipe();
+ ~NativeMessagingPipe() override;
// Starts processing messages from the pipe.
void Start(scoped_ptr<extensions::NativeMessageHost> host,
@@ -30,12 +30,12 @@ class NativeMessagingPipe
const base::Closure& quit_closure);
// extensions::NativeMessageHost::Client implementation.
- virtual void PostMessageFromNativeHost(const std::string& message) override;
- virtual void CloseChannel(const std::string& error_message) override;
+ void PostMessageFromNativeHost(const std::string& message) override;
+ void CloseChannel(const std::string& error_message) override;
// extensions::NativeMessagingChannel::EventHandler implementation.
- virtual void OnMessage(scoped_ptr<base::Value> message) override;
- virtual void OnDisconnect() override;
+ void OnMessage(scoped_ptr<base::Value> message) override;
+ void OnDisconnect() override;
private:
base::Closure quit_closure_;
« no previous file with comments | « remoting/host/mouse_clamping_filter.h ('k') | remoting/host/native_messaging/pipe_messaging_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698