Files
brave-core/utility
Mario Sanchez Prada 06f884ff74 Remove includes to base/macros.h using base/ignore_result.h when needed
Only a couple of files really need to include this header now to use
ignore_result(), and we can just drop the include from everywhere else.

Chromium changes:

https://chromium.googlesource.com/chromium/src.git/+/2e6be1400ab678f21d871d0d3a1199912967324f
https://chromium.googlesource.com/chromium/src.git/+/5666ff4f5077a7e2f72902f3a95f5d553ea0d88d
https://chromium.googlesource.com/chromium/src.git/+/3a3f9436142e712d4a7e2a962d85154876fa395f

commit 2e6be1400ab678f21d871d0d3a1199912967324f
Author: Peter Boström <pbos@chromium.org>
Date:   Sat Nov 13 01:28:25 2021 +0000

    Rename "base/macros.h" => "base/ignore_result.h"

    This file only contains ignore_result() and is no longer a collection of
    macros.

    This change fixes a couple of missing IWYU removals as well.

    Bug: 1010217

commit 5666ff4f5077a7e2f72902f3a95f5d553ea0d88d
Author: Peter Boström <pbos@chromium.org>
Date:   Fri Nov 12 03:40:24 2021 +0000

    Remove most remaining unused "base/macros.h"

    Removes `#include "base/macros.h"` from remaining .cc, .h and .mm files
    that do not contain `ignore_result(` and do not trigger pre-commit or
    pre-upload errors.

    Bug: 1010217

commit 3a3f9436142e712d4a7e2a962d85154876fa395f
Author: Peter Boström <pbos@chromium.org>
Date:   Mon Nov 8 21:04:37 2021 +0000

    Add #include "base/macros.h" for ignore_result()

    This fixes IWYU for existing instances of ignore_result() to make
    removal of #include "base/macros.h" from files using it for DISALLOW_*
    macros easier.

    Bug: 1010217
2022-01-24 15:33:44 -05:00
..
2021-08-17 11:42:17 -05:00