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

Issue 208263004: Move TraceEvent.h from platform/ to wtf/

Created:
6 years, 9 months ago by haraken
Modified:
4 years, 9 months ago
CC:
aandrey+blink_chromium.org, adamk+blink_chromium.org, alancutter (OOO until 2018), alecflett, darktears, alph+blink_chromium.org, apavlov+blink_chromium.org, arv+blink, bemjb+rendering_chromium.org, blink-layers+watch_chromium.org, blink-reviews, Rik, caseq+blink_chromium.org, Inactive, cmumford, danakj, devtools-reviews_chromium.org, dglazkov+blink, dgrogan, dino_apple.com, krit, dstockwell, eae+blinkwatch, ed+blinkwatch_opera.com, eric.carlson_apple.com, ericu+idb_chromium.org, Eric Willigers, eustas+blink_chromium.org, feature-media-reviews_chromium.org, gavinp+loader_chromium.org, jamesr, Nate Chapin, jbroman, jchaffraix+rendering, jsbell+bindings_chromium.org, jsbell+idb_chromium.org, kenneth.christiansen, kojih, kouhei+bindings_chromium.org, leviw+renderwatch, loislo+blink_chromium.org, lushnikov+blink_chromium.org, marja+watch_chromium.org, Mike Lawther (Google), Mikhail, Nils Barth (inactive), paulirish+reviews_chromium.org, pdr., pfeldman+blink_chromium.org, philipj_slow, rjwright, rwlbuis, rune+blink, Stephen Chennney, shans, sof, Steve Block, Timothy Loh, vsevik+blink_chromium.org, yurys+blink_chromium.org, zoltan1
Visibility:
Public.

Description

Move TraceEvent.h from platform/ to wtf/ Currently we cannot use trace events in heap/, because TraceEvent is implemented in platform/ and heap/ cannot depend on platform/. To address the issue, this CL moves TraceEvent.h from platform/ to wtf/.

Patch Set 1 #

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -1058 lines) Patch
M Source/bindings/scripts/v8_interface.py View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8SVGTestInterface.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestEventTarget.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestException.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterface.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceCheckSecurity.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor2.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor3.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceDoNotCheckConstants.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceDocument.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceEmpty.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceEventTarget.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNode.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfacePython.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfacePython2.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfacePython3.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestNode.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestObject.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestObjectPython.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestSpecialOperationsAnonymous.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestSpecialOperationsCustom.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestSpecialOperationsIdentifierRaisesException.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestSpecialOperationsInt.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestSpecialOperationsNotEnumerable.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestSpecialOperationsOverrideBuiltins.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestTypedefs.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/ScheduledAction.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/ScriptController.cpp View 2 chunks +1 line, -1 line 0 comments Download
M Source/bindings/v8/V8GCController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/V8Initializer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/V8ObjectConstructor.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M Source/bindings/v8/V8ScriptRunner.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/V8WindowShell.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/animation/DocumentTimeline.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/RuleSet.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/css/StyleSheetContents.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Document.cpp View 2 chunks +1 line, -1 line 0 comments Download
M Source/core/dom/StyleElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/events/GenericEventQueue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fetch/MemoryCache.cpp View 2 chunks +1 line, -1 line 0 comments Download
M Source/core/fetch/ResourceFetcher.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/Console.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/ConsoleBase.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/FrameView.cpp View 2 chunks +1 line, -1 line 0 comments Download
M Source/core/html/parser/HTMLDocumentParser.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/parser/HTMLPreloadScanner.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorTimelineAgent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/TraceEventDispatcher.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/scrolling/ScrollingCoordinator.cpp View 2 chunks +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 2 chunks +1 line, -1 line 0 comments Download
M Source/core/rendering/TextAutosizer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/compositing/RenderLayerCompositor.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/testing/Internals.cpp View 2 chunks +1 line, -1 line 0 comments Download
M Source/modules/indexeddb/IDBTracing.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/mediasource/MediaSourceBase.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/mediasource/SourceBuffer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/mediasource/WebKitSourceBuffer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/PlatformInstrumentation.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/ThreadTimers.cpp View 1 chunk +1 line, -1 line 0 comments Download
D Source/platform/TraceEvent.h View 1 chunk +0 lines, -948 lines 0 comments Download
M Source/platform/blink_platform.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M Source/platform/graphics/Canvas2DLayerBridge.cpp View 2 chunks +1 line, -1 line 0 comments Download
M Source/platform/graphics/DecodingImageGenerator.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/GraphicsContext.h View 2 chunks +1 line, -1 line 0 comments Download
M Source/platform/graphics/Image.cpp View 2 chunks +1 line, -1 line 0 comments Download
M Source/platform/graphics/ImageDecodingStore.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/ImageFrameGenerator.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M Source/platform/graphics/LazyDecodingPixelRef.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/gpu/DrawingBuffer.cpp View 2 chunks +1 line, -1 line 0 comments Download
M Source/platform/graphics/skia/NativeImageSkia.cpp View 2 chunks +1 line, -1 line 0 comments Download
M Source/platform/scroll/ScrollAnimatorNone.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M Source/platform/scroll/ScrollableArea.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M Source/web/TextFinder.cpp View 2 chunks +1 line, -1 line 0 comments Download
M Source/web/WebFrameImpl.cpp View 2 chunks +1 line, -1 line 0 comments Download
M Source/web/WebViewImpl.cpp View 2 chunks +1 line, -1 line 0 comments Download
M Source/web/painting/ContinuousPainter.cpp View 1 chunk +1 line, -1 line 0 comments Download
A + Source/wtf/TraceEvent.h View 6 chunks +11 lines, -24 lines 1 comment Download
M Source/wtf/wtf.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
haraken
https://codereview.chromium.org/208263004/diff/20001/Source/wtf/TraceEvent.h File Source/wtf/TraceEvent.h (right): https://codereview.chromium.org/208263004/diff/20001/Source/wtf/TraceEvent.h#newcode166 Source/wtf/TraceEvent.h:166: #include "platform/EventTracer.h" Unfortunately this CL doesn't work because of ...
6 years, 9 months ago (2014-03-21 17:10:17 UTC) #1
abarth-chromium
Why didn't the DEPS check flag this as illegal? As haraken says, this is introducing ...
6 years, 9 months ago (2014-03-21 17:14:41 UTC) #2
haraken
On 2014/03/21 17:14:41, abarth wrote: > Why didn't the DEPS check flag this as illegal? ...
6 years, 9 months ago (2014-03-21 17:24:08 UTC) #3
abarth-chromium
On 2014/03/21 17:24:08, haraken wrote: > Sorry about the confusion. The DEPS check warned that ...
6 years, 9 months ago (2014-03-21 17:27:56 UTC) #4
haraken
On 2014/03/21 17:27:56, abarth wrote: > On 2014/03/21 17:24:08, haraken wrote: > > Sorry about ...
6 years, 9 months ago (2014-03-21 17:34:04 UTC) #5
Mads Ager (chromium)
Hmm, good question. Am I right to assume that platform/ is intended for code that ...
6 years, 9 months ago (2014-03-24 07:11:08 UTC) #6
Mads Ager (chromium)
And the drawing is here: https://docs.google.com/drawings/d/19jLEmaUb6aWQHjFlf4o46uNmCW0UtGakl3_BRqaVSZc/edit?usp=sharing
6 years, 9 months ago (2014-03-24 07:14:01 UTC) #7
haraken
+jochen who knows a lot about the layering of Blink.
6 years, 9 months ago (2014-03-24 07:16:13 UTC) #8
tkent
On 2014/03/24 07:11:08, Mads Ager (chromium) wrote: > Am I right to assume that platform/ ...
6 years, 9 months ago (2014-03-24 07:27:49 UTC) #9
Mads Ager (chromium)
On 2014/03/24 07:27:49, tkent wrote: > On 2014/03/24 07:11:08, Mads Ager (chromium) wrote: > > ...
6 years, 9 months ago (2014-03-24 07:31:24 UTC) #10
haraken
On 2014/03/24 07:31:24, Mads Ager (chromium) wrote: > On 2014/03/24 07:27:49, tkent wrote: > > ...
6 years, 9 months ago (2014-03-24 07:34:27 UTC) #11
abarth-chromium
On 2014/03/24 07:11:08, Mads Ager (chromium) wrote: > Core and modules can depend on platform, ...
6 years, 9 months ago (2014-03-24 16:25:42 UTC) #12
abarth-chromium
Removal in https://codereview.chromium.org/199793020
6 years, 9 months ago (2014-03-24 16:28:05 UTC) #13
Mads Ager (chromium)
Thanks for the explanation Adam (and for removing the files that made me confused about ...
6 years, 9 months ago (2014-03-24 17:58:27 UTC) #14
abarth-chromium
6 years, 9 months ago (2014-03-24 18:03:26 UTC) #15
sgtm

Powered by Google App Engine
This is Rietveld 408576698