Bug 111801

Summary: Clean up NetworkProcess includes
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebKit2Assignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch ggaren: review+

Description Alexey Proskuryakov 2013-03-07 17:35:31 PST
Move unnecessary includes out of headers.
Comment 1 Alexey Proskuryakov 2013-03-07 17:37:42 PST
Created attachment 192117 [details]
proposed patch
Comment 2 WebKit Review Bot 2013-03-07 17:39:35 PST
Attachment 192117 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit2/NetworkProcess/HostRecord.h', u'Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.cpp', u'Source/WebKit2/NetworkProcess/NetworkProcess.cpp', u'Source/WebKit2/NetworkProcess/NetworkResourceLoadScheduler.cpp', u'Source/WebKit2/NetworkProcess/NetworkResourceLoadScheduler.h', u'Source/WebKit2/NetworkProcess/NetworkResourceLoader.h', u'Source/WebKit2/NetworkProcess/SchedulableLoader.cpp', u'Source/WebKit2/NetworkProcess/SchedulableLoader.h', u'Source/WebKit2/NetworkProcess/SyncNetworkResourceLoader.cpp']" exit_code: 1
Source/WebKit2/NetworkProcess/SyncNetworkResourceLoader.cpp:36:  Alphabetical sorting problem.  [build/include_order] [4]
Total errors found: 1 in 9 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Geoffrey Garen 2013-03-07 19:52:49 PST
Comment on attachment 192117 [details]
proposed patch

View in context: https://bugs.webkit.org/attachment.cgi?id=192117&action=review

r=me

>> Source/WebKit2/NetworkProcess/SyncNetworkResourceLoader.cpp:36
>>  #include <WebCore/ResourceResponse.h>
>> +#include <WebCore/ResourceHandle.h>
> 
> Alphabetical sorting problem.  [build/include_order] [4]

Switch the order here, please.
Comment 4 Alexey Proskuryakov 2013-03-07 23:19:44 PST
Committed <http://trac.webkit.org/r145184>.