// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/40285824): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif #include "chrome/browser/resources_util.h" #include <stddef.h> #include "build/build_config.h" #include "build/chromeos_buildflags.h" #include "components/grit/components_scaled_resources.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/resources/grit/ui_resources.h" #if BUILDFLAG(IS_CHROMEOS_ASH) #include "ui/chromeos/resources/grit/ui_chromeos_resources.h" #endif TEST(ResourcesUtil, SpotCheckIds) { … }