1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_EXTENSIONS_SETTINGS_API_HELPERS_H_
6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_API_HELPERS_H_
8 #include "chrome/common/extensions/manifest_handlers/settings_overrides_handler.h"
14 namespace extensions
{
16 // Returns which extension (if any) is overriding the homepage in a given
18 const Extension
* GetExtensionOverridingHomepage(
19 content::BrowserContext
* browser_context
);
21 // Returns which extension (if any) is overriding the homepage in a given
23 const Extension
* GetExtensionOverridingStartupPages(
24 content::BrowserContext
* browser_context
);
26 // Returns which extension (if any) is overriding the search engine in a given
28 const Extension
* GetExtensionOverridingSearchEngine(
29 content::BrowserContext
* browser_context
);
31 // Returns which extension (if any) is overriding the proxy in a given
33 const Extension
* GetExtensionOverridingProxy(
34 content::BrowserContext
* browser_context
);
36 } // namespace extensions
38 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_API_HELPERS_H_