// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef EXTENSIONS_BROWSER_EXTENSIONS_TEST_H_ #define EXTENSIONS_BROWSER_EXTENSIONS_TEST_H_ #include <memory> #include "build/chromeos_buildflags.h" #include "content/public/test/test_renderer_host.h" #include "extensions/browser/mock_extension_system.h" #include "testing/gtest/include/gtest/gtest.h" #if BUILDFLAG(IS_CHROMEOS_LACROS) #include "chromeos/lacros/lacros_test_helper.h" #endif class ExtensionPrefValueMap; class PrefService; namespace content { class BrowserContext; class RenderViewHostTestEnabler; } namespace extensions { class TestExtensionsBrowserClient; // Base class for extensions module unit tests of browser process code. Sets up // the content module and extensions module client interfaces. Initializes // services for a browser context and sets up extension preferences. // // NOTE: Use this class only in extensions_unittests, not in Chrome unit_tests. // In Chrome those factories assume any BrowserContext is a Profile and will // cause crashes if it is not. http://crbug.com/395820 class ExtensionsTest : public testing::Test { … }; } // namespace extensions #endif // EXTENSIONS_BROWSER_EXTENSIONS_TEST_H_