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

Unified Diff: Source/core/page/EventSource.h

Issue 634883002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/page (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/page/DragController.h ('k') | Source/core/page/FocusController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/EventSource.h
diff --git a/Source/core/page/EventSource.h b/Source/core/page/EventSource.h
index abbdeb10ad4fdbb448f711d960ffdc12a813bf19..088e615405058a3667dc0204e283077510f816d3 100644
--- a/Source/core/page/EventSource.h
+++ b/Source/core/page/EventSource.h
@@ -50,7 +50,7 @@ class ResourceResponse;
class TextResourceDecoder;
class ThreadableLoader;
-class EventSource FINAL : public RefCountedWillBeGarbageCollectedFinalized<EventSource>, public EventTargetWithInlineData, private ThreadableLoaderClient, public ActiveDOMObject {
+class EventSource final : public RefCountedWillBeGarbageCollectedFinalized<EventSource>, public EventTargetWithInlineData, private ThreadableLoaderClient, public ActiveDOMObject {
DEFINE_WRAPPERTYPEINFO();
REFCOUNTED_EVENT_TARGET(EventSource);
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(EventSource);
@@ -77,8 +77,8 @@ public:
void close();
- virtual const AtomicString& interfaceName() const OVERRIDE;
- virtual ExecutionContext* executionContext() const OVERRIDE;
+ virtual const AtomicString& interfaceName() const override;
+ virtual ExecutionContext* executionContext() const override;
// ActiveDOMObject
//
@@ -86,19 +86,19 @@ public:
// Page::setDefersLoading() and it defers delivery of events from the
// loader, and therefore the methods of this class for receiving
// asynchronous events from the loader won't be invoked.
- virtual void stop() OVERRIDE;
+ virtual void stop() override;
- virtual bool hasPendingActivity() const OVERRIDE;
+ virtual bool hasPendingActivity() const override;
private:
EventSource(ExecutionContext*, const KURL&, const EventSourceInit&);
- virtual void didReceiveResponse(unsigned long, const ResourceResponse&) OVERRIDE;
- virtual void didReceiveData(const char*, unsigned) OVERRIDE;
- virtual void didFinishLoading(unsigned long, double) OVERRIDE;
- virtual void didFail(const ResourceError&) OVERRIDE;
- virtual void didFailAccessControlCheck(const ResourceError&) OVERRIDE;
- virtual void didFailRedirectCheck() OVERRIDE;
+ virtual void didReceiveResponse(unsigned long, const ResourceResponse&) override;
+ virtual void didReceiveData(const char*, unsigned) override;
+ virtual void didFinishLoading(unsigned long, double) override;
+ virtual void didFail(const ResourceError&) override;
+ virtual void didFailAccessControlCheck(const ResourceError&) override;
+ virtual void didFailRedirectCheck() override;
void scheduleInitialConnect();
void connect();
« no previous file with comments | « Source/core/page/DragController.h ('k') | Source/core/page/FocusController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698