chore: Use thread_local: base/threading/ (#37600)
https://chromium-review.googlesource.com/c/chromium/src/+/4335524
This commit is contained in:
parent
095f9067a7
commit
9611b641c9
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@ const char kXdgSettingsDefaultSchemeHandler[] = "default-url-scheme-handler";
|
||||||
|
|
||||||
// The use of the ForTesting flavors is a hack workaround to avoid having to
|
// The use of the ForTesting flavors is a hack workaround to avoid having to
|
||||||
// patch these as friends into the associated guard classes.
|
// patch these as friends into the associated guard classes.
|
||||||
class LaunchXdgUtilityScopedAllowBaseSyncPrimitives
|
class [[maybe_unused, nodiscard]] LaunchXdgUtilityScopedAllowBaseSyncPrimitives
|
||||||
: public base::ScopedAllowBaseSyncPrimitivesForTesting {};
|
: public base::ScopedAllowBaseSyncPrimitivesForTesting{};
|
||||||
|
|
||||||
bool LaunchXdgUtility(const std::vector<std::string>& argv, int* exit_code) {
|
bool LaunchXdgUtility(const std::vector<std::string>& argv, int* exit_code) {
|
||||||
*exit_code = EXIT_FAILURE;
|
*exit_code = EXIT_FAILURE;
|
||||||
|
|
Loading…
Reference in a new issue