gecko-dev/dom/clients/manager
Gabriele Svelto ace6d1063f Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ 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/D55442

--HG--
extra : moz-landing-system : lando
2019-12-06 09:24:56 +00:00
..
ClientChannelHelper.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
ClientChannelHelper.h Bug 1556489 - P23 - Only create new ClientSource objects in the content, but use the recreated info from redirects in the parent. r=asuth 2019-09-03 10:19:53 +10:00
ClientHandle.cpp
ClientHandle.h
ClientHandleChild.cpp
ClientHandleChild.h
ClientHandleOpChild.cpp
ClientHandleOpChild.h
ClientHandleOpParent.cpp Bug 1556489 - P23 - Only create new ClientSource objects in the content, but use the recreated info from redirects in the parent. r=asuth 2019-09-03 10:19:53 +10:00
ClientHandleOpParent.h Bug 1556489 - P23 - Only create new ClientSource objects in the content, but use the recreated info from redirects in the parent. r=asuth 2019-09-03 10:19:53 +10:00
ClientHandleParent.cpp Backed out changeset daecd36223c9 (bug 1584007) for ClientManagerService.cpp failures CLOSED TREE 2019-10-02 14:36:27 +03:00
ClientHandleParent.h Backed out changeset daecd36223c9 (bug 1584007) for ClientManagerService.cpp failures CLOSED TREE 2019-10-02 14:36:27 +03:00
ClientInfo.cpp Bug 1583700 - Create a new ClientSource from a parent-allocated ClientInfo even for same-origin redirects, since there might have been a prior cross-origin redirect. r=perry,asuth 2019-10-22 01:03:22 +00:00
ClientInfo.h Bug 1583700 - Create a new ClientSource from a parent-allocated ClientInfo even for same-origin redirects, since there might have been a prior cross-origin redirect. r=perry,asuth 2019-10-22 01:03:22 +00:00
ClientIPCTypes.ipdlh Bug 1562663 - P2 - Pass the agent cluster id to the ClientInfo so that we can check whether two clients are in the same agent cluster; r=nika 2019-09-23 09:57:23 +00:00
ClientIPCUtils.h Bug 1554361 - Move the high-level storage access check APIs to mozilla/StorageAccess.h; r=baku 2019-05-27 14:06:49 +00:00
ClientManager.cpp Backed out changeset daecd36223c9 (bug 1584007) for ClientManagerService.cpp failures CLOSED TREE 2019-10-02 14:36:27 +03:00
ClientManager.h Backed out changeset daecd36223c9 (bug 1584007) for ClientManagerService.cpp failures CLOSED TREE 2019-10-02 14:36:27 +03:00
ClientManagerActors.cpp
ClientManagerActors.h
ClientManagerChild.cpp Bug 1559919 - Finish the WorkerHolder cleanup - part 7 - IPCWorkerRef in ClientManagerChild, r=asuth 2019-07-12 11:17:46 +00:00
ClientManagerChild.h Bug 1559919 - Finish the WorkerHolder cleanup - part 7 - IPCWorkerRef in ClientManagerChild, r=asuth 2019-07-12 11:17:46 +00:00
ClientManagerOpChild.cpp
ClientManagerOpChild.h
ClientManagerOpParent.cpp
ClientManagerOpParent.h
ClientManagerParent.cpp Backed out changeset daecd36223c9 (bug 1584007) for ClientManagerService.cpp failures CLOSED TREE 2019-10-02 14:36:27 +03:00
ClientManagerParent.h Backed out changeset daecd36223c9 (bug 1584007) for ClientManagerService.cpp failures CLOSED TREE 2019-10-02 14:36:27 +03:00
ClientManagerService.cpp Backed out changeset daecd36223c9 (bug 1584007) for ClientManagerService.cpp failures CLOSED TREE 2019-10-02 14:36:27 +03:00
ClientManagerService.h Backed out changeset daecd36223c9 (bug 1584007) for ClientManagerService.cpp failures CLOSED TREE 2019-10-02 14:36:27 +03:00
ClientNavigateOpChild.cpp Bug 1578624 - P4: Add an option to set mIsNavigating on the docshell when loading using BrowsingContext. r=kmag 2019-10-11 02:27:05 +00:00
ClientNavigateOpChild.h
ClientNavigateOpParent.cpp
ClientNavigateOpParent.h
ClientOpenWindowOpActors.cpp
ClientOpenWindowOpActors.h
ClientOpenWindowOpChild.cpp
ClientOpenWindowOpChild.h
ClientOpenWindowOpParent.cpp
ClientOpenWindowOpParent.h
ClientOpenWindowUtils.cpp Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal 2019-10-04 20:55:11 +00:00
ClientOpenWindowUtils.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
ClientOpPromise.h
ClientPrefs.cpp Backed out 2 changesets (bug 1552168) for causing mochitest crashes on test_menubar.xul CLOSED TREE 2019-07-03 16:08:23 +03:00
ClientPrefs.h Backed out 2 changesets (bug 1552168) for causing mochitest crashes on test_menubar.xul CLOSED TREE 2019-07-03 16:08:23 +03:00
ClientPrincipalUtils.cpp
ClientPrincipalUtils.h
ClientSource.cpp Bug 1557244 - Inherit controllers for blob URL workers in child-intercept mode r=asuth 2019-07-26 18:39:58 +00:00
ClientSource.h Bug 1562663 - P2 - Pass the agent cluster id to the ClientInfo so that we can check whether two clients are in the same agent cluster; r=nika 2019-09-23 09:57:23 +00:00
ClientSourceChild.cpp
ClientSourceChild.h
ClientSourceOpChild.cpp
ClientSourceOpChild.h
ClientSourceOpParent.cpp
ClientSourceOpParent.h
ClientSourceParent.cpp Bug 1583859 - ExecutionReadyPromise should not be exclusive. r=perry 2019-10-23 17:55:38 +00:00
ClientSourceParent.h Bug 1583859 - ExecutionReadyPromise should not be exclusive. r=perry 2019-10-23 17:55:38 +00:00
ClientState.cpp Bug 1554361 - Move the high-level storage access check APIs to mozilla/StorageAccess.h; r=baku 2019-05-27 14:06:49 +00:00
ClientState.h Bug 1554361 - Move the high-level storage access check APIs to mozilla/StorageAccess.h; r=baku 2019-05-27 14:06:49 +00:00
ClientThing.h
ClientValidation.cpp Backed out 2 changesets (bug 1552168) for causing mochitest crashes on test_menubar.xul CLOSED TREE 2019-07-03 16:08:23 +03:00
ClientValidation.h
moz.build Backed out 2 changesets (bug 1552168) for causing mochitest crashes on test_menubar.xul CLOSED TREE 2019-07-03 16:08:23 +03:00
PClientHandle.ipdl
PClientHandleOp.ipdl
PClientManager.ipdl Backed out changeset daecd36223c9 (bug 1584007) for ClientManagerService.cpp failures CLOSED TREE 2019-10-02 14:36:27 +03:00
PClientManagerOp.ipdl
PClientNavigateOp.ipdl
PClientOpenWindowOp.ipdl
PClientSource.ipdl
PClientSourceOp.ipdl