| Index: Source/core/inspector/InspectorTimelineAgent.h
|
| diff --git a/Source/core/inspector/InspectorTimelineAgent.h b/Source/core/inspector/InspectorTimelineAgent.h
|
| index 39909d33ef8e20b07124e96e8be36e385dc82ece..a19553c9fe563836c2c39273031a87d505a21baf 100644
|
| --- a/Source/core/inspector/InspectorTimelineAgent.h
|
| +++ b/Source/core/inspector/InspectorTimelineAgent.h
|
| @@ -42,6 +42,8 @@
|
| #include "platform/JSONValues.h"
|
| #include "platform/PlatformInstrumentation.h"
|
| #include "platform/geometry/LayoutRect.h"
|
| +#include "wtf/HashMap.h"
|
| +#include "wtf/HashSet.h"
|
| #include "wtf/PassOwnPtr.h"
|
| #include "wtf/Vector.h"
|
| #include "wtf/WeakPtr.h"
|
| @@ -139,7 +141,7 @@ public:
|
|
|
| virtual void enable(ErrorString*) OVERRIDE;
|
| virtual void disable(ErrorString*) OVERRIDE;
|
| - virtual void start(ErrorString*, const int* maxCallStackDepth, const bool* bufferEvents, const bool* includeCounters, const bool* includeGPUEvents) OVERRIDE;
|
| + virtual void start(ErrorString*, const int* maxCallStackDepth, const bool* bufferEvents, const String* liveEvents, const bool* includeCounters, const bool* includeGPUEvents) OVERRIDE;
|
| virtual void stop(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Timeline::TimelineEvent> >& events) OVERRIDE;
|
|
|
| void setLayerTreeId(int layerTreeId) { m_layerTreeId = layerTreeId; }
|
| @@ -301,6 +303,7 @@ private:
|
| bool isStarted();
|
| void innerStart();
|
| void innerStop(bool fromConsole);
|
| + void setLiveEvents(const String&);
|
|
|
| InspectorPageAgent* m_pageAgent;
|
| InspectorDOMAgent* m_domAgent;
|
| @@ -336,6 +339,7 @@ private:
|
| typedef HashMap<ThreadIdentifier, TimelineThreadState> ThreadStateMap;
|
| ThreadStateMap m_threadStates;
|
| bool m_mayEmitFirstPaint;
|
| + HashSet<String> m_liveEvents;
|
| };
|
|
|
| } // namespace WebCore
|
|
|