// 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/40284755): Remove this and spanify to fix the errors. #pragma allow_unsafe_buffers #endif #include <memory> #include "base/system/system_monitor.h" #include "base/run_loop.h" #include "base/test/mock_devices_changed_observer.h" #include "base/test/task_environment.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" namespace base { namespace { class SystemMonitorTest : public testing::Test { … }; TEST_F(SystemMonitorTest, DeviceChangeNotifications) { … } } // namespace } // namespace base