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

Unified Diff: ppapi/proxy/websocket_resource.h

Issue 1097393007: Update {virtual,override} to follow C++11 style in ppapi. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split off one file into separate review. Created 5 years, 8 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 | « ppapi/proxy/video_source_resource.h ('k') | ppapi/shared_impl/array_var.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/websocket_resource.h
diff --git a/ppapi/proxy/websocket_resource.h b/ppapi/proxy/websocket_resource.h
index 8106abd0007d6ff67b43b8a3aa51e8747d5f4012..51fb52d0626762f92660e3f887a3f5c26cbcfc17 100644
--- a/ppapi/proxy/websocket_resource.h
+++ b/ppapi/proxy/websocket_resource.h
@@ -26,36 +26,36 @@ class PPAPI_PROXY_EXPORT WebSocketResource
public NON_EXPORTED_BASE(thunk::PPB_WebSocket_API) {
public:
WebSocketResource(Connection connection, PP_Instance instance);
- virtual ~WebSocketResource();
+ ~WebSocketResource() override;
// PluginResource implementation.
- virtual thunk::PPB_WebSocket_API* AsPPB_WebSocket_API() override;
+ thunk::PPB_WebSocket_API* AsPPB_WebSocket_API() override;
// PPB_WebSocket_API implementation.
- virtual int32_t Connect(const PP_Var& url,
- const PP_Var protocols[],
- uint32_t protocol_count,
- scoped_refptr<TrackedCallback> callback) override;
- virtual int32_t Close(uint16_t code,
- const PP_Var& reason,
- scoped_refptr<TrackedCallback> callback) override;
- virtual int32_t ReceiveMessage(
+ int32_t Connect(const PP_Var& url,
+ const PP_Var protocols[],
+ uint32_t protocol_count,
+ scoped_refptr<TrackedCallback> callback) override;
+ int32_t Close(uint16_t code,
+ const PP_Var& reason,
+ scoped_refptr<TrackedCallback> callback) override;
+ int32_t ReceiveMessage(
PP_Var* message,
scoped_refptr<TrackedCallback> callback) override;
- virtual int32_t SendMessage(const PP_Var& message) override;
- virtual uint64_t GetBufferedAmount() override;
- virtual uint16_t GetCloseCode() override;
- virtual PP_Var GetCloseReason() override;
- virtual PP_Bool GetCloseWasClean() override;
- virtual PP_Var GetExtensions() override;
- virtual PP_Var GetProtocol() override;
- virtual PP_WebSocketReadyState GetReadyState() override;
- virtual PP_Var GetURL() override;
+ int32_t SendMessage(const PP_Var& message) override;
+ uint64_t GetBufferedAmount() override;
+ uint16_t GetCloseCode() override;
+ PP_Var GetCloseReason() override;
+ PP_Bool GetCloseWasClean() override;
+ PP_Var GetExtensions() override;
+ PP_Var GetProtocol() override;
+ PP_WebSocketReadyState GetReadyState() override;
+ PP_Var GetURL() override;
private:
// PluginResource override.
- virtual void OnReplyReceived(const ResourceMessageReplyParams& params,
- const IPC::Message& msg) override;
+ void OnReplyReceived(const ResourceMessageReplyParams& params,
+ const IPC::Message& msg) override;
// IPC message handlers.
void OnPluginMsgConnectReply(const ResourceMessageReplyParams& params,
« no previous file with comments | « ppapi/proxy/video_source_resource.h ('k') | ppapi/shared_impl/array_var.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698