Rename AllowCheckIsTestToBeCalled to [...]ForTesting

This is yet another hint to prevent the function from being used in
production code. This allows us to drop the warning message.

Bug: 1326801
Change-Id: I76d786dd0225493ffa04f65ec1f36ff89192a65c
Tests: Non-functional change (rename).
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3970673
Reviewed-by: Daniel Cheng <[email protected]>
Commit-Queue: Daniel Cheng <[email protected]>
Owners-Override: Daniel Cheng <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1062542}
diff --git a/base/check_is_test_unittest.cc b/base/check_is_test_unittest.cc
index 1c47e62..3f7fa36c 100644
--- a/base/check_is_test_unittest.cc
+++ b/base/check_is_test_unittest.cc
@@ -6,7 +6,7 @@
 
 #include "testing/gtest/include/gtest/gtest.h"
 
-// Note: `base::AllowCheckIsTestToBeCalled` is being called in
+// Note: `base::AllowCheckIsTestForTesting` is being called in
 // `base/test/launcher/unit_test_launcher.cc` before this test is run.
 //
 // Thus, `CHECK_IS_TEST()` will succeed.