#include "chrome/browser/extensions/settings_api_helpers.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/url_constants.h"
#include "components/proxy_config/proxy_config_pref_names.h"
#include "components/search_engines/search_engines_pref_names.h"
#include "content/public/browser/browser_url_handler.h"
#include "extensions/browser/extension_pref_value_map.h"
#include "extensions/browser/extension_pref_value_map_factory.h"
#include "extensions/browser/extension_prefs_helper.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/common/constants.h"
#include "extensions/common/extension_set.h"
#include "url/gurl.h"
namespace extensions {
namespace {
enum class OverrideType { … };
const Extension* FindOverridingExtension(
content::BrowserContext* browser_context,
OverrideType type) { … }
}
const Extension* GetExtensionOverridingHomepage(
content::BrowserContext* browser_context) { … }
const Extension* GetExtensionOverridingNewTabPage(
content::BrowserContext* browser_context) { … }
const Extension* GetExtensionOverridingStartupPages(
content::BrowserContext* browser_context) { … }
const Extension* GetExtensionOverridingSearchEngine(
content::BrowserContext* browser_context) { … }
const Extension* GetExtensionOverridingProxy(
content::BrowserContext* browser_context) { … }
}