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

Side by Side Diff: Source/modules/websockets/NewWebSocketChannelImpl.cpp

Issue 135653002: Update modules classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove change to web/ 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "public/platform/WebSocketHandshakeRequestInfo.h" 44 #include "public/platform/WebSocketHandshakeRequestInfo.h"
45 #include "public/platform/WebSocketHandshakeResponseInfo.h" 45 #include "public/platform/WebSocketHandshakeResponseInfo.h"
46 #include "public/platform/WebString.h" 46 #include "public/platform/WebString.h"
47 #include "public/platform/WebURL.h" 47 #include "public/platform/WebURL.h"
48 #include "public/platform/WebVector.h" 48 #include "public/platform/WebVector.h"
49 49
50 using blink::WebSocketHandle; 50 using blink::WebSocketHandle;
51 51
52 namespace WebCore { 52 namespace WebCore {
53 53
54 class NewWebSocketChannelImpl::BlobLoader : public FileReaderLoaderClient { 54 class NewWebSocketChannelImpl::BlobLoader FINAL : public FileReaderLoaderClient {
55 public: 55 public:
56 BlobLoader(PassRefPtr<BlobDataHandle>, NewWebSocketChannelImpl*); 56 BlobLoader(PassRefPtr<BlobDataHandle>, NewWebSocketChannelImpl*);
57 virtual ~BlobLoader() { } 57 virtual ~BlobLoader() { }
58 58
59 void cancel(); 59 void cancel();
60 60
61 // FileReaderLoaderClient functions. 61 // FileReaderLoaderClient functions.
62 virtual void didStartLoading() OVERRIDE { } 62 virtual void didStartLoading() OVERRIDE { }
63 virtual void didReceiveData() OVERRIDE { } 63 virtual void didReceiveData() OVERRIDE { }
64 virtual void didFinishLoading() OVERRIDE; 64 virtual void didFinishLoading() OVERRIDE;
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 if (errorCode == FileError::ABORT_ERR) { 477 if (errorCode == FileError::ABORT_ERR) {
478 // The error is caused by cancel(). 478 // The error is caused by cancel().
479 return; 479 return;
480 } 480 }
481 // FIXME: Generate human-friendly reason message. 481 // FIXME: Generate human-friendly reason message.
482 failAsError("Failed to load Blob: error code = " + String::number(errorCode) ); 482 failAsError("Failed to load Blob: error code = " + String::number(errorCode) );
483 // |this| can be deleted here. 483 // |this| can be deleted here.
484 } 484 }
485 485
486 } // namespace WebCore 486 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/modules/websockets/NewWebSocketChannelImpl.h ('k') | Source/modules/websockets/WebSocket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698