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

Side by Side Diff: Source/core/timing/PerformanceBase.cpp

Issue 1184403003: Offer Resource Timing in workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: style fix Created 5 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Intel Inc. All rights reserved. 3 * Copyright (C) 2012 Intel Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 20 matching lines...) Expand all
31 31
32 #include "config.h" 32 #include "config.h"
33 #include "core/timing/PerformanceBase.h" 33 #include "core/timing/PerformanceBase.h"
34 34
35 #include "core/dom/Document.h" 35 #include "core/dom/Document.h"
36 #include "core/events/Event.h" 36 #include "core/events/Event.h"
37 #include "core/timing/PerformanceCompositeTiming.h" 37 #include "core/timing/PerformanceCompositeTiming.h"
38 #include "core/timing/PerformanceRenderTiming.h" 38 #include "core/timing/PerformanceRenderTiming.h"
39 #include "core/timing/PerformanceResourceTiming.h" 39 #include "core/timing/PerformanceResourceTiming.h"
40 #include "core/timing/PerformanceUserTiming.h" 40 #include "core/timing/PerformanceUserTiming.h"
41 #include "core/timing/ResourceTimingInfo.h" 41 #include "platform/network/ResourceTimingInfo.h"
42 #include "platform/weborigin/SecurityOrigin.h" 42 #include "platform/weborigin/SecurityOrigin.h"
43 #include "wtf/CurrentTime.h" 43 #include "wtf/CurrentTime.h"
44 44
45 namespace blink { 45 namespace blink {
46 46
47 static const size_t defaultResourceTimingBufferSize = 150; 47 static const size_t defaultResourceTimingBufferSize = 150;
48 static const size_t defaultFrameTimingBufferSize = 150; 48 static const size_t defaultFrameTimingBufferSize = 150;
49 49
50 PerformanceBase::PerformanceBase(double timeOrigin) 50 PerformanceBase::PerformanceBase(double timeOrigin)
51 : m_frameTimingBufferSize(defaultFrameTimingBufferSize) 51 : m_frameTimingBufferSize(defaultFrameTimingBufferSize)
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 326
327 DEFINE_TRACE(PerformanceBase) 327 DEFINE_TRACE(PerformanceBase)
328 { 328 {
329 visitor->trace(m_frameTimingBuffer); 329 visitor->trace(m_frameTimingBuffer);
330 visitor->trace(m_resourceTimingBuffer); 330 visitor->trace(m_resourceTimingBuffer);
331 visitor->trace(m_userTiming); 331 visitor->trace(m_userTiming);
332 EventTargetWithInlineData::trace(visitor); 332 EventTargetWithInlineData::trace(visitor);
333 } 333 }
334 334
335 } // namespace blink 335 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/loader/WorkerThreadableLoader.cpp ('k') | Source/core/timing/PerformanceResourceTiming.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698