Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Unified Diff: trunk/src/chrome/browser/extensions/settings_api_helpers.h

Issue 312403003: Revert 275229 "Add an extension override bubble and warning box ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/chrome/browser/extensions/settings_api_helpers.h
===================================================================
--- trunk/src/chrome/browser/extensions/settings_api_helpers.h (revision 275254)
+++ trunk/src/chrome/browser/extensions/settings_api_helpers.h (working copy)
@@ -24,35 +24,25 @@
const Extension** extension);
// Returns which extension is overriding the homepage in a given
-// |browser_context| or NULL if no extension is overriding the homepage.
-// |home_page_url|, if non-NULL, will contain the home_page value the extension
-// has set.
-const Extension* GetExtensionOverridingHomepage(
- content::BrowserContext* browser_context,
- GURL* home_page_url);
+// |browser_context|. |home_page_url|, if non-NULL, will contain the home_page
+// value the extension has set.
+const Extension* OverridesHomepage(content::BrowserContext* browser_context,
+ GURL* home_page_url);
// Returns which extension is overriding the homepage in a given
-// |browser_context| or NULL if no extension is overriding the startup pages.
-// |startup_pages|, if non-NULL, will contain the vector of startup page URLs
-// the extension has set.
-const Extension* GetExtensionOverridingStartupPages(
- content::BrowserContext* browser_context,
- std::vector<GURL>* startup_pages);
+// |browser_context|. |startup_pages|, if non-NULL, will contain the vector of
+// startup page URLs the extension has set.
+const Extension* OverridesStartupPages(content::BrowserContext* browser_context,
+ std::vector<GURL>* startup_pages);
// Returns which extension is overriding the search engine in a given
-// |browser_context| or NULL if no extension is overriding the search engine.
-// |search_provider|, if non-NULL, will contain the search provider the
-// extension has set.
-const Extension* GetExtensionOverridingSearchEngine(
+// |browser_context|. |search_provider|, if non-NULL, will contain the search
+// provider the extension has set.
+const Extension* OverridesSearchEngine(
content::BrowserContext* browser_context,
api::manifest_types::ChromeSettingsOverrides::Search_provider*
search_provider);
-// Returns which extension is overriding the proxy in a given |browser_context|
-// or NULL if no extension is overriding the proxy.
-const Extension* GetExtensionOverridingProxy(
- content::BrowserContext* browser_context);
-
} // namespace extensions
#endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_API_HELPERS_H_

Powered by Google App Engine
This is Rietveld 408576698