Rename GetIconID to GetIconId
[chromium-blink-merge.git] / chrome / browser / extensions / settings_api_helpers.h
blob647782d16547e830db11ab6cf35268a0618dce88
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"
10 namespace content {
11 class BrowserContext;
14 namespace extensions {
16 // Returns which extension (if any) is overriding the homepage in a given
17 // |browser_context|.
18 const Extension* GetExtensionOverridingHomepage(
19 content::BrowserContext* browser_context);
21 // Returns which extension (if any) is overriding the homepage in a given
22 // |browser_context|.
23 const Extension* GetExtensionOverridingStartupPages(
24 content::BrowserContext* browser_context);
26 // Returns which extension (if any) is overriding the search engine in a given
27 // |browser_context|.
28 const Extension* GetExtensionOverridingSearchEngine(
29 content::BrowserContext* browser_context);
31 // Returns which extension (if any) is overriding the proxy in a given
32 // |browser_context|.
33 const Extension* GetExtensionOverridingProxy(
34 content::BrowserContext* browser_context);
36 } // namespace extensions
38 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_API_HELPERS_H_