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

Unified Diff: Source/modules/websockets/DOMWebSocket.h

Issue 635233004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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 | « Source/modules/websockets/CloseEvent.h ('k') | Source/modules/websockets/DOMWebSocketTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/websockets/DOMWebSocket.h
diff --git a/Source/modules/websockets/DOMWebSocket.h b/Source/modules/websockets/DOMWebSocket.h
index e519d752a06c8386aa52f6eaa92ee390b572cba9..c8b8f3b09d420abb56b2f7ad1146d645b388ee7a 100644
--- a/Source/modules/websockets/DOMWebSocket.h
+++ b/Source/modules/websockets/DOMWebSocket.h
@@ -101,28 +101,28 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(close);
// EventTarget functions.
- virtual const AtomicString& interfaceName() const OVERRIDE;
- virtual ExecutionContext* executionContext() const OVERRIDE;
+ virtual const AtomicString& interfaceName() const override;
+ virtual ExecutionContext* executionContext() const override;
// ActiveDOMObject functions.
- virtual void contextDestroyed() OVERRIDE;
+ virtual void contextDestroyed() override;
// Prevent this instance from being collected while it's not in CLOSED
// state.
- virtual bool hasPendingActivity() const OVERRIDE;
- virtual void suspend() OVERRIDE;
- virtual void resume() OVERRIDE;
- virtual void stop() OVERRIDE;
+ virtual bool hasPendingActivity() const override;
+ virtual void suspend() override;
+ virtual void resume() override;
+ virtual void stop() override;
// WebSocketChannelClient functions.
- virtual void didConnect(const String& subprotocol, const String& extensions) OVERRIDE;
- virtual void didReceiveTextMessage(const String& message) OVERRIDE;
- virtual void didReceiveBinaryMessage(PassOwnPtr<Vector<char> >) OVERRIDE;
- virtual void didError() OVERRIDE;
- virtual void didConsumeBufferedAmount(unsigned long) OVERRIDE;
- virtual void didStartClosingHandshake() OVERRIDE;
- virtual void didClose(ClosingHandshakeCompletionStatus, unsigned short code, const String& reason) OVERRIDE;
+ virtual void didConnect(const String& subprotocol, const String& extensions) override;
+ virtual void didReceiveTextMessage(const String& message) override;
+ virtual void didReceiveBinaryMessage(PassOwnPtr<Vector<char> >) override;
+ virtual void didError() override;
+ virtual void didConsumeBufferedAmount(unsigned long) override;
+ virtual void didStartClosingHandshake() override;
+ virtual void didClose(ClosingHandshakeCompletionStatus, unsigned short code, const String& reason) override;
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
static bool isValidSubprotocolString(const String&);
@@ -131,7 +131,7 @@ protected:
private:
// FIXME: This should inherit blink::EventQueue.
- class EventQueue FINAL : public GarbageCollectedFinalized<EventQueue> {
+ class EventQueue final : public GarbageCollectedFinalized<EventQueue> {
public:
static EventQueue* create(EventTarget* target)
{
« no previous file with comments | « Source/modules/websockets/CloseEvent.h ('k') | Source/modules/websockets/DOMWebSocketTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698