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

Issue 17569013: Remove unused includes from core/inspector, core/loader and core/page (Closed)

Created:
7 years, 6 months ago by Timothy Loh
Modified:
7 years, 5 months ago
Reviewers:
pdr., yurys
CC:
blink-reviews, shans, eae+blinkwatch, apavlov+blink_chromium.org, Steve Block, mkwst+watchlist_chromium.org, caseq+blink_chromium.org, aandrey+blink_chromium.org, alancutter (OOO until 2018), yurys+blink_chromium.org, dstockwell, gavinp+loader_chromium.org, kenneth.christiansen, loislo+blink_chromium.org, lushnikov+blink_chromium.org, eustas+blink_chromium.org, Nate Chapin, vcarbune.chromium, gavinp+prerender_chromium.org, alph+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink@master
Visibility:
Public.

Description

Remove unused includes from core/inspector, core/loader and core/page Continue removing unused includes as suggested by include-what-you-use. I've manually looked through the changes here so all the removals should be actually unused. As usual, if a .cpp only needs a fwd decl of a type used in a method signature, I assume that the header would already have included or declared the type and remove the include from the .cpp. BUG=242216 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153301

Patch Set 1 #

Total comments: 5

Patch Set 2 : added back MemoryInstrumentation* #

Patch Set 3 : rebased #

Patch Set 4 : fix windows #

Patch Set 5 : rebased #

Patch Set 6 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -487 lines) Patch
M Source/core/inspector/ConsoleMessage.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/inspector/ConsoleMessage.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/inspector/HeapGraphSerializer.cpp View 1 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/inspector/InjectedScript.h View 1 1 chunk +1 line, -4 lines 0 comments Download
M Source/core/inspector/InjectedScriptBase.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/inspector/InjectedScriptHost.h View 1 chunk +2 lines, -3 lines 0 comments Download
M Source/core/inspector/InjectedScriptHost.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorCSSAgent.cpp View 1 2 3 4 5 2 chunks +0 lines, -3 lines 0 comments Download
M Source/core/inspector/InspectorCanvasAgent.h View 1 2 3 4 1 chunk +3 lines, -4 lines 0 comments Download
M Source/core/inspector/InspectorConsoleAgent.cpp View 1 chunk +5 lines, -7 lines 0 comments Download
M Source/core/inspector/InspectorController.cpp View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/inspector/InspectorCounters.h View 1 chunk +2 lines, -3 lines 0 comments Download
M Source/core/inspector/InspectorDOMAgent.h View 1 chunk +7 lines, -12 lines 0 comments Download
M Source/core/inspector/InspectorDOMDebuggerAgent.h View 1 chunk +3 lines, -4 lines 0 comments Download
M Source/core/inspector/InspectorDOMStorageAgent.h View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M Source/core/inspector/InspectorDOMStorageAgent.cpp View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download
M Source/core/inspector/InspectorDebuggerAgent.h View 1 chunk +5 lines, -6 lines 0 comments Download
M Source/core/inspector/InspectorFrontendHost.h View 1 chunk +3 lines, -5 lines 0 comments Download
M Source/core/inspector/InspectorFrontendHost.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorInstrumentation.h View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
M Source/core/inspector/InspectorInstrumentation.cpp View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/inspector/InspectorLayerTreeAgent.h View 1 chunk +3 lines, -4 lines 0 comments Download
M Source/core/inspector/InspectorMemoryAgent.cpp View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/inspector/InspectorOverlay.cpp View 1 2 5 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/inspector/InspectorOverlayHost.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
Source/core/inspector/InspectorPageAgent.h View 1 2 3 4 1 chunk +2 lines, -4 lines 0 comments Download
M Source/core/inspector/InspectorPageAgent.cpp View 1 2 3 4 2 chunks +0 lines, -3 lines 0 comments Download
M Source/core/inspector/InspectorProfilerAgent.cpp View 2 chunks +0 lines, -7 lines 0 comments Download
M Source/core/inspector/InspectorResourceAgent.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/inspector/InspectorResourceAgent.cpp View 1 2 3 4 2 chunks +0 lines, -5 lines 0 comments Download
M Source/core/inspector/InspectorRuntimeAgent.h View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M Source/core/inspector/InspectorRuntimeAgent.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorState.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorStyleSheet.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorStyleSheet.cpp View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorStyleTextEditor.h View 1 chunk +2 lines, -4 lines 0 comments Download
M Source/core/inspector/InspectorTimelineAgent.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
Source/core/inspector/MemoryInstrumentationImpl.cpp View 1 1 chunk +5 lines, -5 lines 0 comments Download
M Source/core/inspector/NetworkResourcesData.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/inspector/ScriptCallFrame.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/inspector/TimelineRecordFactory.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/inspector/TimelineTraceEventProcessor.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/inspector/TimelineTraceEventProcessor.cpp View 1 chunk +3 lines, -4 lines 0 comments Download
M Source/core/loader/CookieJar.h View 1 chunk +3 lines, -4 lines 0 comments Download
M Source/core/loader/DocumentLoader.h View 1 2 5 1 chunk +2 lines, -3 lines 0 comments Download
M Source/core/loader/DocumentLoader.cpp View 1 2 3 5 2 chunks +5 lines, -12 lines 0 comments Download
M Source/core/loader/DocumentThreadableLoader.h View 1 chunk +5 lines, -7 lines 0 comments Download
M Source/core/loader/DocumentThreadableLoader.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/loader/DocumentWriter.cpp View 5 2 chunks +0 lines, -5 lines 0 comments Download
M Source/core/loader/FrameLoader.cpp View 1 2 3 4 5 4 chunks +3 lines, -28 lines 0 comments Download
M Source/core/loader/HistoryController.h View 1 chunk +3 lines, -4 lines 0 comments Download
M Source/core/loader/HistoryController.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/loader/NavigationScheduler.cpp View 2 chunks +1 line, -4 lines 0 comments Download
M Source/core/loader/PingLoader.cpp View 1 chunk +2 lines, -5 lines 0 comments Download
M Source/core/loader/Prerenderer.h View 1 chunk +0 lines, -1 line 0 comments Download
Source/core/loader/PrerendererClient.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/loader/ProgressTracker.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M Source/core/loader/ResourceLoadNotifier.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/loader/ResourceLoader.h View 1 chunk +2 lines, -3 lines 0 comments Download
M Source/core/loader/SubframeLoader.h View 1 chunk +4 lines, -5 lines 0 comments Download
M Source/core/loader/SubframeLoader.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/loader/TextResourceDecoder.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/loader/TextTrackLoader.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/core/loader/ThreadableLoader.h View 1 chunk +3 lines, -5 lines 0 comments Download
M Source/core/loader/appcache/DOMApplicationCache.h View 1 chunk +3 lines, -6 lines 0 comments Download
M Source/core/loader/archive/ArchiveResourceCollection.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/loader/archive/MHTMLParser.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M Source/core/loader/cache/CachedCSSStyleSheet.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/loader/cache/CachedCSSStyleSheet.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M Source/core/loader/cache/CachedFont.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/loader/cache/CachedImage.h View 1 chunk +1 line, -2 lines 0 comments Download
Source/core/loader/cache/CachedRawResource.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/loader/cache/CachedResource.h View 2 chunks +4 lines, -7 lines 0 comments Download
M Source/core/loader/cache/CachedResource.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/loader/cache/CachedResourceLoader.h View 1 chunk +5 lines, -6 lines 0 comments Download
M Source/core/loader/cache/CachedResourceLoader.cpp View 3 chunks +5 lines, -7 lines 0 comments Download
M Source/core/loader/cache/CachedResourceRequest.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/loader/cache/CachedScript.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/loader/cache/CachedTextTrack.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/loader/cache/CachedTextTrack.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/loader/cache/CachedXSLStyleSheet.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/loader/cache/MemoryCache.h View 1 chunk +5 lines, -8 lines 0 comments Download
M Source/core/loader/cache/MemoryCache.cpp View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M Source/core/page/Chrome.h View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/page/Chrome.cpp View 1 2 3 4 5 2 chunks +2 lines, -4 lines 0 comments Download
M Source/core/page/Console.cpp View 2 chunks +2 lines, -4 lines 0 comments Download
M Source/core/page/ContentSecurityPolicy.h View 1 chunk +4 lines, -5 lines 0 comments Download
M Source/core/page/ContentSecurityPolicy.cpp View 1 2 2 chunks +0 lines, -4 lines 0 comments Download
Source/core/page/DOMSecurityPolicy.h View 1 chunk +2 lines, -4 lines 0 comments Download
M Source/core/page/DOMTimer.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M Source/core/page/DOMWindow.cpp View 1 2 1 chunk +4 lines, -6 lines 0 comments Download
M Source/core/page/EventHandler.h View 1 chunk +3 lines, -5 lines 0 comments Download
M Source/core/page/Frame.cpp View 1 chunk +3 lines, -35 lines 0 comments Download
M Source/core/page/FrameTree.cpp View 1 chunk +3 lines, -5 lines 0 comments Download
M Source/core/page/FrameView.cpp View 1 2 3 chunks +2 lines, -10 lines 0 comments Download
M Source/core/page/Navigator.h View 1 chunk +4 lines, -5 lines 0 comments Download
M Source/core/page/Navigator.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/page/Page.h View 1 2 1 chunk +4 lines, -6 lines 0 comments Download
M Source/core/page/Page.cpp View 1 2 1 chunk +0 lines, -22 lines 0 comments Download
M Source/core/page/PageConsole.h View 1 chunk +2 lines, -3 lines 0 comments Download
M Source/core/page/PageConsole.cpp View 2 chunks +1 line, -4 lines 0 comments Download
M Source/core/page/PageGroup.h View 1 2 1 chunk +4 lines, -5 lines 0 comments Download
M Source/core/page/PageSerializer.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/page/PerformanceResourceTiming.h View 1 chunk +2 lines, -3 lines 0 comments Download
M Source/core/page/PerformanceTiming.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/page/PerformanceUserTiming.h View 1 chunk +5 lines, -6 lines 0 comments Download
M Source/core/page/PerformanceUserTiming.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/page/Screen.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/page/Settings.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/page/Settings.cpp View 2 chunks +0 lines, -5 lines 0 comments Download
M Source/core/page/SpeechInputEvent.h View 1 chunk +1 line, -3 lines 0 comments Download
M Source/core/page/SpeechInputResultList.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/page/WindowFocusAllowedIndicator.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/page/WorkerNavigator.h View 1 chunk +3 lines, -4 lines 0 comments Download
M Source/core/page/animation/AnimationBase.h View 1 chunk +1 line, -4 lines 0 comments Download
M Source/core/page/animation/AnimationBase.cpp View 1 chunk +0 lines, -7 lines 0 comments Download
M Source/core/page/animation/AnimationController.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/page/animation/CSSPropertyAnimation.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/page/animation/CSSPropertyAnimation.cpp View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/page/animation/CompositeAnimation.h View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download
M Source/core/page/animation/ImplicitAnimation.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/page/animation/KeyframeAnimation.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/page/scrolling/ScrollingCoordinator.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
Timothy Loh
7 years, 6 months ago (2013-06-24 11:54:13 UTC) #1
pdr.
On 2013/06/24 11:54:13, Timothy Loh wrote: rs=me LGTM!
7 years, 6 months ago (2013-06-24 14:33:05 UTC) #2
yurys
https://codereview.chromium.org/17569013/diff/1/Source/core/inspector/HeapGraphSerializer.cpp File Source/core/inspector/HeapGraphSerializer.cpp (left): https://codereview.chromium.org/17569013/diff/1/Source/core/inspector/HeapGraphSerializer.cpp#oldcode38 Source/core/inspector/HeapGraphSerializer.cpp:38: #include "wtf/MemoryInstrumentationHashMap.h" Please revert these two includes. Removing them ...
7 years, 6 months ago (2013-06-24 15:00:44 UTC) #3
darktears
On 2013/06/24 15:00:44, Yury Semikhatsky wrote: > https://codereview.chromium.org/17569013/diff/1/Source/core/inspector/HeapGraphSerializer.cpp > File Source/core/inspector/HeapGraphSerializer.cpp (left): > > https://codereview.chromium.org/17569013/diff/1/Source/core/inspector/HeapGraphSerializer.cpp#oldcode38 ...
7 years, 6 months ago (2013-06-24 15:25:01 UTC) #4
yurys
On 2013/06/24 15:25:01, darktears wrote: > > My 2 cents. I'm not at all familiar ...
7 years, 6 months ago (2013-06-24 15:50:49 UTC) #5
yurys
On 2013/06/24 15:25:01, darktears wrote: > > My 2 cents. I'm not at all familiar ...
7 years, 6 months ago (2013-06-24 16:38:20 UTC) #6
Timothy Loh
On 2013/06/24 16:38:20, Yury Semikhatsky wrote: > On 2013/06/24 15:25:01, darktears wrote: > > > ...
7 years, 6 months ago (2013-06-24 17:22:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timloh@chromium.org/17569013/18001
7 years, 5 months ago (2013-06-28 05:29:55 UTC) #8
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 5 months ago (2013-06-28 05:51:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timloh@chromium.org/17569013/46002
7 years, 5 months ago (2013-06-28 06:05:00 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timloh@chromium.org/17569013/40004
7 years, 5 months ago (2013-06-28 06:43:05 UTC) #11
commit-bot: I haz the power
Failed to apply patch for Source/core/loader/DocumentLoader.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 5 months ago (2013-06-28 08:11:53 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timloh@chromium.org/17569013/54002
7 years, 5 months ago (2013-06-28 15:18:29 UTC) #13
commit-bot: I haz the power
Failed to apply patch for Source/core/loader/DocumentLoader.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 5 months ago (2013-06-28 17:03:09 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timloh@chromium.org/17569013/65001
7 years, 5 months ago (2013-06-29 13:18:31 UTC) #15
commit-bot: I haz the power
7 years, 5 months ago (2013-06-29 14:39:12 UTC) #16
Message was sent while issue was closed.
Change committed as 153301

Powered by Google App Engine
This is Rietveld 408576698