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

Unified Diff: chrome/browser/ui/views/settings_api_bubble_helper_views.h

Issue 219593002: Add unit test for the Settings API Bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced Created 6 years, 9 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: chrome/browser/ui/views/settings_api_bubble_helper_views.h
diff --git a/chrome/browser/ui/views/settings_api_bubble_helper_views.h b/chrome/browser/ui/views/settings_api_bubble_helper_views.h
index a36a8064a6bc2edb907929c1c90a0afe91a62695..a475ed71c3e4d9a4e4ab3b018c4b676a37faf62f 100644
--- a/chrome/browser/ui/views/settings_api_bubble_helper_views.h
+++ b/chrome/browser/ui/views/settings_api_bubble_helper_views.h
@@ -5,14 +5,11 @@
#ifndef CHROME_BROWSER_UI_VIEWS_SETTINGS_API_BUBBLE_HELPER_VIEWS_H_
#define CHROME_BROWSER_UI_VIEWS_SETTINGS_API_BUBBLE_HELPER_VIEWS_H_
-#include "chrome/common/extensions/manifest_handlers/settings_overrides_handler.h"
-
struct AutocompleteMatch;
class Browser;
class Profile;
namespace content {
-class BrowserContext;
class WebContents;
}
@@ -31,34 +28,6 @@ void MaybeShowExtensionControlledSearchNotification(
content::WebContents* web_contents,
const AutocompleteMatch& match);
-// Find which |extension| is overriding a particular |type| of setting. Returns
-// the SettingsOverride object, or NULL if no |extension| is overriding that
-// particular setting.
-const extensions::SettingsOverrides* FindOverridingExtension(
- content::BrowserContext* browser_context,
- SettingsApiOverrideType type,
- const Extension** extension);
-
-// Returns which extension is overriding the homepage in a given
-// |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|. |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|. |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);
-
} // namespace extensions
#endif // CHROME_BROWSER_UI_VIEWS_SETTINGS_API_BUBBLE_HELPER_VIEWS_H_

Powered by Google App Engine
This is Rietveld 408576698