Files
brave-core/components
Mario Sanchez Prada b3a3e4558b Migrate usage of base::[ASCII|UTF8]ToUTF16 to u literals.
We need to use either u"..." literals or char16_t constant strings now.

Chromium changes:

https://chromium.googlesource.com/chromium/src.git/+/522370fb5f2b8ec0719a3752bcac4897164dd32d

commit 522370fb5f2b8ec0719a3752bcac4897164dd32d
Author: Jan Wilken Dörrie <jdoerrie@chromium.org>
Date:   Fri Apr 16 17:22:39 2021 +0000

    [LSC] Disallow base::ASCIIToUTF16("...") outside of tests

    This change modifies base::ASCIIToUTF16 to cause compilation errors when
    it is used with a string constant outside of tests. Instead, callers
    should just use a UTF16 literal (u"...") instead.

    Bug: 1189439

https://chromium.googlesource.com/chromium/src.git/+/7e1e44476bb361e95dc252d8428324a3feb89ecd

commit 7e1e44476bb361e95dc252d8428324a3feb89ecd
Author: Jan Wilken Dörrie <jdoerrie@chromium.org>
Date:   Sun Mar 14 19:37:05 2021 +0000

    [LSC] Remove base/strings/string16.h

    This change removes base/strings/string16.h and remaining references to
    it from the code base.

    Bug: 1184339

commit 9ca8a38a28e547d0c47630e3e56a69d06c7ab68b
Author: Peter Kasting <pkasting@chromium.org>
Date:   Wed May 12 03:08:22 2021 +0000

    Ban UTF8ToUTF16 on compile-time string constants.

    Bug: 1189439
2021-06-29 16:35:01 -04:00
..
2021-06-25 14:10:51 -07:00
2021-06-17 07:26:12 -05:00