Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_SETTINGS_API_HELPERS_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_SETTINGS_API_HELPERS_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_API_HELPERS_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_API_HELPERS_H_ |
| 7 | 7 |
| 8 #include "chrome/common/extensions/manifest_handlers/settings_overrides_handler. h" | 8 #include "chrome/common/extensions/manifest_handlers/settings_overrides_handler. h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 26 // Returns which extension is overriding the homepage in a given | 26 // Returns which extension is overriding the homepage in a given |
| 27 // |browser_context|. |home_page_url|, if non-NULL, will contain the home_page | 27 // |browser_context|. |home_page_url|, if non-NULL, will contain the home_page |
| 28 // value the extension has set. | 28 // value the extension has set. |
| 29 const Extension* OverridesHomepage(content::BrowserContext* browser_context, | 29 const Extension* OverridesHomepage(content::BrowserContext* browser_context, |
| 30 GURL* home_page_url); | 30 GURL* home_page_url); |
| 31 | 31 |
| 32 // Returns which extension is overriding the homepage in a given | 32 // Returns which extension is overriding the homepage in a given |
| 33 // |browser_context|. |startup_pages|, if non-NULL, will contain the vector of | 33 // |browser_context|. |startup_pages|, if non-NULL, will contain the vector of |
| 34 // startup page URLs the extension has set. | 34 // startup page URLs the extension has set. |
| 35 const Extension* OverridesStartupPages(content::BrowserContext* browser_context, | 35 const Extension* OverridesStartupPages(content::BrowserContext* browser_context, |
| 36 std::vector<GURL>* startup_pages); | 36 std::vector<GURL>* startup_pages); |
|
Devlin
2014/06/03 23:16:58
it looks like these other ones (|home_page_url| in
| |
| 37 | 37 |
| 38 // Returns which extension is overriding the search engine in a given | 38 // Returns which extension is overriding the search engine in a given |
| 39 // |browser_context|. |search_provider|, if non-NULL, will contain the search | 39 // |browser_context|. |
| 40 // provider the extension has set. | |
| 41 const Extension* OverridesSearchEngine( | 40 const Extension* OverridesSearchEngine( |
| 42 content::BrowserContext* browser_context, | 41 content::BrowserContext* browser_context); |
| 43 api::manifest_types::ChromeSettingsOverrides::Search_provider* | |
| 44 search_provider); | |
| 45 | 42 |
| 46 } // namespace extensions | 43 } // namespace extensions |
| 47 | 44 |
| 48 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_API_HELPERS_H_ | 45 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_API_HELPERS_H_ |
| OLD | NEW |