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

Side by Side Diff: Source/core/workers/DedicatedWorkerGlobalScope.h

Issue 1232333002: Fix virtual/override/final usage in the rest of Source/core/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 29 matching lines...) Expand all
40 namespace blink { 40 namespace blink {
41 41
42 class DedicatedWorkerThread; 42 class DedicatedWorkerThread;
43 class WorkerThreadStartupData; 43 class WorkerThreadStartupData;
44 44
45 class CORE_EXPORT DedicatedWorkerGlobalScope final : public WorkerGlobalScope { 45 class CORE_EXPORT DedicatedWorkerGlobalScope final : public WorkerGlobalScope {
46 DEFINE_WRAPPERTYPEINFO(); 46 DEFINE_WRAPPERTYPEINFO();
47 public: 47 public:
48 typedef WorkerGlobalScope Base; 48 typedef WorkerGlobalScope Base;
49 static PassRefPtrWillBeRawPtr<DedicatedWorkerGlobalScope> create(DedicatedWo rkerThread*, PassOwnPtr<WorkerThreadStartupData>, double timeOrigin); 49 static PassRefPtrWillBeRawPtr<DedicatedWorkerGlobalScope> create(DedicatedWo rkerThread*, PassOwnPtr<WorkerThreadStartupData>, double timeOrigin);
50 virtual ~DedicatedWorkerGlobalScope(); 50 ~DedicatedWorkerGlobalScope() override;
51 51
52 virtual bool isDedicatedWorkerGlobalScope() const override { return true; } 52 bool isDedicatedWorkerGlobalScope() const override { return true; }
53 virtual void countFeature(UseCounter::Feature) const override; 53 void countFeature(UseCounter::Feature) const override;
54 virtual void countDeprecation(UseCounter::Feature) const override; 54 void countDeprecation(UseCounter::Feature) const override;
55 55
56 // Overridden to allow us to check our pending activity after executing impo rted script. 56 // Overridden to allow us to check our pending activity after executing impo rted script.
57 virtual void importScripts(const Vector<String>& urls, ExceptionState&) over ride; 57 void importScripts(const Vector<String>& urls, ExceptionState&) override;
58 58
59 // EventTarget 59 // EventTarget
60 virtual const AtomicString& interfaceName() const override; 60 const AtomicString& interfaceName() const override;
61 61
62 void postMessage(ExecutionContext*, PassRefPtr<SerializedScriptValue>, const MessagePortArray*, ExceptionState&); 62 void postMessage(ExecutionContext*, PassRefPtr<SerializedScriptValue>, const MessagePortArray*, ExceptionState&);
63 63
64 DEFINE_ATTRIBUTE_EVENT_LISTENER(message); 64 DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
65 65
66 DedicatedWorkerThread* thread() const; 66 DedicatedWorkerThread* thread() const;
67 67
68 DECLARE_VIRTUAL_TRACE(); 68 DECLARE_VIRTUAL_TRACE();
69 69
70 private: 70 private:
71 DedicatedWorkerGlobalScope(const KURL&, const String& userAgent, DedicatedWo rkerThread*, double timeOrigin, const SecurityOrigin*, PassOwnPtrWillBeRawPtr<Wo rkerClients>); 71 DedicatedWorkerGlobalScope(const KURL&, const String& userAgent, DedicatedWo rkerThread*, double timeOrigin, const SecurityOrigin*, PassOwnPtrWillBeRawPtr<Wo rkerClients>);
72 }; 72 };
73 73
74 } // namespace blink 74 } // namespace blink
75 75
76 #endif // DedicatedWorkerGlobalScope_h 76 #endif // DedicatedWorkerGlobalScope_h
OLDNEW
« no previous file with comments | « Source/core/workers/AbstractWorker.h ('k') | Source/core/workers/DedicatedWorkerGlobalScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698