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

Side by Side Diff: Source/web/WebSocketImpl.h

Issue 135753002: Update web classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/web/WebSharedWorkerImpl.h ('k') | Source/web/WebTextCheckingCompletionImpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 28 matching lines...) Expand all
39 #include "wtf/RefPtr.h" 39 #include "wtf/RefPtr.h"
40 40
41 namespace WebCore { class MainThreadWebSocketChannel; } 41 namespace WebCore { class MainThreadWebSocketChannel; }
42 42
43 namespace blink { 43 namespace blink {
44 44
45 class WebDocument; 45 class WebDocument;
46 class WebString; 46 class WebString;
47 class WebURL; 47 class WebURL;
48 48
49 class WebSocketImpl : public WebSocket, public WebCore::WebSocketChannelClient { 49 class WebSocketImpl FINAL : public WebSocket, public WebCore::WebSocketChannelCl ient {
50 public: 50 public:
51 WebSocketImpl(const WebDocument&, WebSocketClient*); 51 WebSocketImpl(const WebDocument&, WebSocketClient*);
52 virtual ~WebSocketImpl(); 52 virtual ~WebSocketImpl();
53 53
54 bool isNull() const { return !m_private; } 54 bool isNull() const { return !m_private; }
55 55
56 virtual BinaryType binaryType() const OVERRIDE; 56 virtual BinaryType binaryType() const OVERRIDE;
57 virtual bool setBinaryType(BinaryType) OVERRIDE; 57 virtual bool setBinaryType(BinaryType) OVERRIDE;
58 virtual void connect(const WebURL&, const WebString& protocol) OVERRIDE; 58 virtual void connect(const WebURL&, const WebString& protocol) OVERRIDE;
59 virtual WebString subprotocol() OVERRIDE; 59 virtual WebString subprotocol() OVERRIDE;
(...skipping 16 matching lines...) Expand all
76 76
77 private: 77 private:
78 RefPtr<WebCore::MainThreadWebSocketChannel> m_private; 78 RefPtr<WebCore::MainThreadWebSocketChannel> m_private;
79 WebSocketClient* m_client; 79 WebSocketClient* m_client;
80 BinaryType m_binaryType; 80 BinaryType m_binaryType;
81 }; 81 };
82 82
83 } // namespace blink 83 } // namespace blink
84 84
85 #endif // WebWebSocketChannelImpl_h 85 #endif // WebWebSocketChannelImpl_h
OLDNEW
« no previous file with comments | « Source/web/WebSharedWorkerImpl.h ('k') | Source/web/WebTextCheckingCompletionImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698