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

Unified Diff: components/message_port/web_message_port_channel_impl.h

Issue 1361223003: Enforce marking "override" for functions overriding Blink in components/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « components/autofill/content/renderer/autofill_agent.h ('k') | components/nacl/renderer/file_downloader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/message_port/web_message_port_channel_impl.h
diff --git a/components/message_port/web_message_port_channel_impl.h b/components/message_port/web_message_port_channel_impl.h
index 12d6c286ee991370a257f2b23bdb5a8247009a51..493631f94e01bc51f9bedc1d553171babc4a4343 100644
--- a/components/message_port/web_message_port_channel_impl.h
+++ b/components/message_port/web_message_port_channel_impl.h
@@ -23,12 +23,12 @@ class WebMessagePortChannelImpl : public blink::WebMessagePortChannel {
virtual ~WebMessagePortChannelImpl();
// blink::WebMessagePortChannel implementation.
- virtual void setClient(blink::WebMessagePortChannelClient* client);
- virtual void destroy();
- virtual void postMessage(const blink::WebString& message,
- blink::WebMessagePortChannelArray* channels);
- virtual bool tryGetMessage(blink::WebString* message,
- blink::WebMessagePortChannelArray& channels);
+ void setClient(blink::WebMessagePortChannelClient* client) override;
+ void destroy() override;
+ void postMessage(const blink::WebString& message,
+ blink::WebMessagePortChannelArray* channels) override;
+ bool tryGetMessage(blink::WebString* message,
+ blink::WebMessagePortChannelArray& channels) override;
void WaitForNextMessage();
void OnMessageAvailable(MojoResult result);
« no previous file with comments | « components/autofill/content/renderer/autofill_agent.h ('k') | components/nacl/renderer/file_downloader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698