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

Unified Diff: Source/core/xml/XMLHttpRequest.h

Issue 637483002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/xml (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/core/xml/NativeXPathNSResolver.h ('k') | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XMLHttpRequest.h
diff --git a/Source/core/xml/XMLHttpRequest.h b/Source/core/xml/XMLHttpRequest.h
index d8f85ec2d3b39632b28bbdbbd2290eb72aaceebc..8912965cbb88bbea1ddffbefbc3fa5e76ef3e2fb 100644
--- a/Source/core/xml/XMLHttpRequest.h
+++ b/Source/core/xml/XMLHttpRequest.h
@@ -56,7 +56,7 @@ class UnderlyingSource;
typedef int ExceptionCode;
-class XMLHttpRequest FINAL
+class XMLHttpRequest final
: public RefCountedWillBeGarbageCollectedFinalized<XMLHttpRequest>
, public XMLHttpRequestEventTarget
, private ThreadableLoaderClient
@@ -90,14 +90,14 @@ public:
ResponseTypeStream,
};
- virtual void contextDestroyed() OVERRIDE;
- virtual void suspend() OVERRIDE;
- virtual void resume() OVERRIDE;
- virtual void stop() OVERRIDE;
- virtual bool hasPendingActivity() const OVERRIDE;
+ virtual void contextDestroyed() override;
+ virtual void suspend() override;
+ virtual void resume() override;
+ virtual void stop() override;
+ virtual bool hasPendingActivity() const override;
- virtual const AtomicString& interfaceName() const OVERRIDE;
- virtual ExecutionContext* executionContext() const OVERRIDE;
+ virtual const AtomicString& interfaceName() const override;
+ virtual ExecutionContext* executionContext() const override;
const KURL& url() const { return m_url; }
String statusText() const;
@@ -151,7 +151,7 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(readystatechange);
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
class BlobLoader;
@@ -160,15 +160,15 @@ private:
Document* document() const;
SecurityOrigin* securityOrigin() const;
- virtual void didSendData(unsigned long long bytesSent, unsigned long long totalBytesToBeSent) OVERRIDE;
- virtual void didReceiveResponse(unsigned long identifier, const ResourceResponse&) OVERRIDE;
- virtual void didReceiveData(const char* data, unsigned dataLength) OVERRIDE;
+ virtual void didSendData(unsigned long long bytesSent, unsigned long long totalBytesToBeSent) override;
+ virtual void didReceiveResponse(unsigned long identifier, const ResourceResponse&) override;
+ virtual void didReceiveData(const char* data, unsigned dataLength) override;
// When responseType is set to "blob", didDownloadData() is called instead
// of didReceiveData().
- virtual void didDownloadData(int dataLength) OVERRIDE;
- virtual void didFinishLoading(unsigned long identifier, double finishTime) OVERRIDE;
- virtual void didFail(const ResourceError&) OVERRIDE;
- virtual void didFailRedirectCheck() OVERRIDE;
+ virtual void didDownloadData(int dataLength) override;
+ virtual void didFinishLoading(unsigned long identifier, double finishTime) override;
+ virtual void didFail(const ResourceError&) override;
+ virtual void didFailRedirectCheck() override;
// BlobLoader notifications.
void didFinishLoadingInternal();
@@ -178,7 +178,7 @@ private:
PassRefPtr<BlobDataHandle> createBlobDataHandleFromResponse();
// DocumentParserClient
- virtual void notifyParserStopped() OVERRIDE;
+ virtual void notifyParserStopped() override;
void endLoading();
« no previous file with comments | « Source/core/xml/NativeXPathNSResolver.h ('k') | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698