gecko-dev/netwerk/ipc
Gabriele Svelto 5dc21d568c Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.

find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
    interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
    if [ -n "$interfaces" ]; then
        if [[ "$interfaces" == *$'\n'* ]]; then
          regexp="\("
          for i in $interfaces; do regexp="$regexp$i\|"; done
          regexp="${regexp%%\\\|}\)"
        else
          regexp="$interfaces"
        fi
        interface=$(basename "$path")
        rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
            hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
            if [ $hits -eq 0 ]; then
                echo "Removing ${interface} from ${path2}"
                grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
                mv -f "$path2".tmp "$path2"
            fi
        done
    fi
done

Differential Revision: https://phabricator.services.mozilla.com/D55444

--HG--
extra : moz-landing-system : lando
2019-12-06 09:17:57 +00:00
..
ADocumentChannelBridge.h Bug 1597015 - Split DocumentChannelParent into two separate classes (DocumentLoadListener and DocumentChannelParent). r=mayhemer,jya 2019-11-20 03:29:25 +00:00
ChannelEventQueue.cpp Bug 1588241 - P1. Use move semantics with PrependEvent. r=mattwoodrow 2019-11-15 02:41:59 +00:00
ChannelEventQueue.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-11-26 14:35:02 +00:00
DocumentChannelChild.cpp Bug 1598516 - Add DocumentChannel MOZ_LOGs. r=jya 2019-12-03 23:55:04 +00:00
DocumentChannelChild.h Bug 1598516 - Add DocumentChannel MOZ_LOGs. r=jya 2019-12-03 23:55:04 +00:00
DocumentChannelParent.cpp Bug 1598516 - Add DocumentChannel MOZ_LOGs. r=jya 2019-12-03 23:55:04 +00:00
DocumentChannelParent.h Bug 1598516 - Add DocumentChannel MOZ_LOGs. r=jya 2019-12-03 23:55:04 +00:00
DocumentLoadListener.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
DocumentLoadListener.h Bug 1600211 - Forward AllPartsStopped to HttpChannelChild to ensure that we notify the listeners correctly. r=mayhemer 2019-12-04 03:19:38 +00:00
moz.build Bug 1597015 - Split DocumentChannelParent into two separate classes (DocumentLoadListener and DocumentChannelParent). r=mayhemer,jya 2019-11-20 03:29:25 +00:00
NeckoChannelParams.ipdlh Bug 1596409 - P1.2: Create PHttpTransaction IPC protocol r=dragana 2019-12-03 13:42:15 +00:00
NeckoChild.cpp Bug 1600678 - Use IPDL refcounted for DNSRequest r=valentin 2019-12-02 18:28:49 +00:00
NeckoChild.h Bug 1600678 - Use IPDL refcounted for DNSRequest r=valentin 2019-12-02 18:28:49 +00:00
NeckoCommon.cpp
NeckoCommon.h Bug 1556489 - P18. Add DocumentChannel and hook it up. r=nika,mayhemer 2019-09-03 10:19:38 +10:00
NeckoMessageUtils.h Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
NeckoParent.cpp Bug 1600678 - Use IPDL refcounted for DNSRequest r=valentin 2019-12-02 18:28:49 +00:00
NeckoParent.h Bug 1600678 - Use IPDL refcounted for DNSRequest r=valentin 2019-12-02 18:28:49 +00:00
NeckoTargetHolder.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
NeckoTargetHolder.h
PChannelDiverter.ipdl
PDataChannel.ipdl Bug 1570369 - Part 12: Use IPDL refcounted for PDataChannel, r=mayhemer 2019-08-16 10:45:57 +00:00
PDocumentChannel.ipdl Bug 1596409 - P1.2: Create PHttpTransaction IPC protocol r=dragana 2019-12-03 13:42:15 +00:00
PFileChannel.ipdl Bug 1570369 - Part 13: Use IPDL refcounted for PFileChannel, r=mayhemer 2019-08-16 10:46:30 +00:00
PNecko.ipdl Backed out 6 changesets (bug 1552176) for causing Hazard bustages CLOSED TREE 2019-11-11 12:11:36 +02:00
PSimpleChannel.ipdl
PSocketProcess.ipdl Bug 1596409 - P4: Impl PHttpConnectionMgr IPC protocol r=dragana 2019-12-03 13:44:39 +00:00
PSocketProcessBridge.ipdl Bug 1560636: Avoid using main thread with PMediaTransport. r=mjf,kershaw 2019-07-15 15:49:30 +00:00
SocketProcessBridgeChild.cpp Bug 1242221 - Close IPC channel before MessageLoop gets destroyed r=mayhemer 2019-07-25 15:24:02 +00:00
SocketProcessBridgeChild.h Bug 1560636: Avoid using main thread with PMediaTransport. r=mjf,kershaw 2019-07-15 15:49:30 +00:00
SocketProcessBridgeParent.cpp Bug 1242221 - Close IPC channel before MessageLoop gets destroyed r=mayhemer 2019-07-25 15:24:02 +00:00
SocketProcessBridgeParent.h Bug 1242221 - Close IPC channel before MessageLoop gets destroyed r=mayhemer 2019-07-25 15:24:02 +00:00
SocketProcessChild.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
SocketProcessChild.h Bug 1596409 - P4: Impl PHttpConnectionMgr IPC protocol r=dragana 2019-12-03 13:44:39 +00:00
SocketProcessHost.cpp
SocketProcessHost.h
SocketProcessImpl.cpp
SocketProcessImpl.h
SocketProcessLogging.h
SocketProcessParent.cpp Bug 1596409 - P1.2: Create PHttpTransaction IPC protocol r=dragana 2019-12-03 13:42:15 +00:00
SocketProcessParent.h Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00