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

Unified Diff: Source/modules/performance/WorkerGlobalScopePerformance.h

Issue 17648006: Rename WorkerContext to WorkerGlobalScope (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 6 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
Index: Source/modules/performance/WorkerGlobalScopePerformance.h
diff --git a/Source/modules/performance/WorkerContextPerformance.h b/Source/modules/performance/WorkerGlobalScopePerformance.h
similarity index 84%
rename from Source/modules/performance/WorkerContextPerformance.h
rename to Source/modules/performance/WorkerGlobalScopePerformance.h
index af56e15a9af37ef53515dc07fd698c7463d97b9b..57dc36b2695bf84578ce48b59196dda8b1ab3dfc 100644
--- a/Source/modules/performance/WorkerContextPerformance.h
+++ b/Source/modules/performance/WorkerGlobalScopePerformance.h
@@ -28,8 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WorkerContextPerformance_h
-#define WorkerContextPerformance_h
+#ifndef WorkerGlobalScopePerformance_h
+#define WorkerGlobalScopePerformance_h
#include "core/platform/Supplementable.h"
@@ -38,15 +38,15 @@ namespace WebCore {
class ScriptExecutionContext;
class WorkerPerformance;
-class WorkerContextPerformance : public Supplement<ScriptExecutionContext> {
+class WorkerGlobalScopePerformance : public Supplement<ScriptExecutionContext> {
public:
- virtual ~WorkerContextPerformance();
- static WorkerContextPerformance* from(ScriptExecutionContext*);
+ virtual ~WorkerGlobalScopePerformance();
+ static WorkerGlobalScopePerformance* from(ScriptExecutionContext*);
static WorkerPerformance* performance(ScriptExecutionContext*);
private:
- WorkerContextPerformance();
+ WorkerGlobalScopePerformance();
WorkerPerformance* getPerformance(ScriptExecutionContext*);
static const char* supplementName();
@@ -56,4 +56,4 @@ private:
} // namespace WebCore
-#endif // WorkerContextPerformance_h
+#endif // WorkerGlobalScopePerformance_h
« no previous file with comments | « Source/modules/performance/WorkerContextPerformance.idl ('k') | Source/modules/performance/WorkerGlobalScopePerformance.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698