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

Unified Diff: Source/web/AssociatedURLLoader.cpp

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/AssociatedURLLoader.h ('k') | Source/web/BackForwardClientImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/AssociatedURLLoader.cpp
diff --git a/Source/web/AssociatedURLLoader.cpp b/Source/web/AssociatedURLLoader.cpp
index 4333894654e639c20e3b69fc33138e2103664a33..154e02578357880476fd4ab588f05a63451b0600 100644
--- a/Source/web/AssociatedURLLoader.cpp
+++ b/Source/web/AssociatedURLLoader.cpp
@@ -124,21 +124,21 @@ const HTTPHeaderSet& HTTPResponseHeaderValidator::blockedHeaders()
// This class bridges the interface differences between WebCore and WebKit loader clients.
// It forwards its ThreadableLoaderClient notifications to a WebURLLoaderClient.
-class AssociatedURLLoader::ClientAdapter : public DocumentThreadableLoaderClient {
+class AssociatedURLLoader::ClientAdapter FINAL : public DocumentThreadableLoaderClient {
WTF_MAKE_NONCOPYABLE(ClientAdapter);
public:
static PassOwnPtr<ClientAdapter> create(AssociatedURLLoader*, WebURLLoaderClient*, const WebURLLoaderOptions&);
- virtual void didSendData(unsigned long long /*bytesSent*/, unsigned long long /*totalBytesToBeSent*/);
- virtual void willSendRequest(ResourceRequest& /*newRequest*/, const ResourceResponse& /*redirectResponse*/);
+ virtual void didSendData(unsigned long long /*bytesSent*/, unsigned long long /*totalBytesToBeSent*/) OVERRIDE;
+ virtual void willSendRequest(ResourceRequest& /*newRequest*/, const ResourceResponse& /*redirectResponse*/) OVERRIDE;
- virtual void didReceiveResponse(unsigned long, const ResourceResponse&);
- virtual void didDownloadData(int /*dataLength*/);
- virtual void didReceiveData(const char*, int /*dataLength*/);
- virtual void didReceiveCachedMetadata(const char*, int /*dataLength*/);
- virtual void didFinishLoading(unsigned long /*identifier*/, double /*finishTime*/);
- virtual void didFail(const ResourceError&);
- virtual void didFailRedirectCheck();
+ virtual void didReceiveResponse(unsigned long, const ResourceResponse&) OVERRIDE;
+ virtual void didDownloadData(int /*dataLength*/) OVERRIDE;
+ virtual void didReceiveData(const char*, int /*dataLength*/) OVERRIDE;
+ virtual void didReceiveCachedMetadata(const char*, int /*dataLength*/) OVERRIDE;
+ virtual void didFinishLoading(unsigned long /*identifier*/, double /*finishTime*/) OVERRIDE;
+ virtual void didFail(const ResourceError&) OVERRIDE;
+ virtual void didFailRedirectCheck() OVERRIDE;
// Sets an error to be reported back to the client, asychronously.
void setDelayedError(const ResourceError&);
« no previous file with comments | « Source/web/AssociatedURLLoader.h ('k') | Source/web/BackForwardClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698