// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/one_shot_event.h" #include "chrome/browser/extensions/extension_browsertest.h" #include "chrome/browser/profiles/profile.h" #include "content/public/test/browser_test.h" #include "extensions/browser/extension_function_registry.h" #include "extensions/browser/extension_system.h" namespace extensions { ExtensionFunctionRegistrationTest; // Test that all functions are registered with unique names, histogram values, // and factories. This is a browser test (rather than a unit test) to (help) // ensure that all the optional factories and services are indeed instantiated. IN_PROC_BROWSER_TEST_F(ExtensionFunctionRegistrationTest, CheckForDuplicateEntries) { … } } // namespace extensions