| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 #include "core/inspector/InspectorState.h" | 48 #include "core/inspector/InspectorState.h" |
| 49 #include "core/inspector/InstrumentingAgents.h" | 49 #include "core/inspector/InstrumentingAgents.h" |
| 50 #include "core/inspector/ScriptCallStack.h" | 50 #include "core/inspector/ScriptCallStack.h" |
| 51 #include "core/inspector/TimelineRecordFactory.h" | 51 #include "core/inspector/TimelineRecordFactory.h" |
| 52 #include "core/inspector/TraceEventDispatcher.h" | 52 #include "core/inspector/TraceEventDispatcher.h" |
| 53 #include "core/loader/DocumentLoader.h" | 53 #include "core/loader/DocumentLoader.h" |
| 54 #include "core/page/Page.h" | 54 #include "core/page/Page.h" |
| 55 #include "core/rendering/RenderObject.h" | 55 #include "core/rendering/RenderObject.h" |
| 56 #include "core/rendering/RenderView.h" | 56 #include "core/rendering/RenderView.h" |
| 57 #include "core/xml/XMLHttpRequest.h" | 57 #include "core/xml/XMLHttpRequest.h" |
| 58 #include "platform/TraceEvent.h" | |
| 59 #include "platform/graphics/DeferredImageDecoder.h" | 58 #include "platform/graphics/DeferredImageDecoder.h" |
| 60 #include "platform/graphics/GraphicsLayer.h" | 59 #include "platform/graphics/GraphicsLayer.h" |
| 61 #include "platform/network/ResourceRequest.h" | 60 #include "platform/network/ResourceRequest.h" |
| 62 #include "wtf/CurrentTime.h" | 61 #include "wtf/CurrentTime.h" |
| 62 #include "wtf/TraceEvent.h" |
| 63 | 63 |
| 64 namespace WebCore { | 64 namespace WebCore { |
| 65 | 65 |
| 66 namespace TimelineAgentState { | 66 namespace TimelineAgentState { |
| 67 static const char enabled[] = "enabled"; | 67 static const char enabled[] = "enabled"; |
| 68 static const char started[] = "started"; | 68 static const char started[] = "started"; |
| 69 static const char startedFromProtocol[] = "startedFromProtocol"; | 69 static const char startedFromProtocol[] = "startedFromProtocol"; |
| 70 static const char timelineMaxCallStackDepth[] = "timelineMaxCallStackDepth"; | 70 static const char timelineMaxCallStackDepth[] = "timelineMaxCallStackDepth"; |
| 71 static const char includeCounters[] = "includeCounters"; | 71 static const char includeCounters[] = "includeCounters"; |
| 72 static const char includeGPUEvents[] = "includeGPUEvents"; | 72 static const char includeGPUEvents[] = "includeGPUEvents"; |
| (...skipping 1259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1332 | 1332 |
| 1333 #ifndef NDEBUG | 1333 #ifndef NDEBUG |
| 1334 bool TimelineRecordStack::isOpenRecordOfType(const String& type) | 1334 bool TimelineRecordStack::isOpenRecordOfType(const String& type) |
| 1335 { | 1335 { |
| 1336 return !m_stack.isEmpty() && m_stack.last().type == type; | 1336 return !m_stack.isEmpty() && m_stack.last().type == type; |
| 1337 } | 1337 } |
| 1338 #endif | 1338 #endif |
| 1339 | 1339 |
| 1340 } // namespace WebCore | 1340 } // namespace WebCore |
| 1341 | 1341 |
| OLD | NEW |