| Index: chrome/browser/search_engines/default_search_manager.h
|
| diff --git a/chrome/browser/search_engines/default_search_manager.h b/chrome/browser/search_engines/default_search_manager.h
|
| index 95a5bfbf4f37a24463f026161415dd794483185a..0a295c5cd7d27c243bdb45397f80273d44b6a38d 100644
|
| --- a/chrome/browser/search_engines/default_search_manager.h
|
| +++ b/chrome/browser/search_engines/default_search_manager.h
|
| @@ -80,6 +80,11 @@ class DefaultSearchManager {
|
| static void AddPrefValueToMap(base::DictionaryValue* value,
|
| PrefValueMap* pref_value_map);
|
|
|
| + // Testing code can call this with |disabled| set to true to cause
|
| + // GetDefaultSearchEngine() to return NULL instead of
|
| + // |fallback_default_search_| in cases where the DSE source is FROM_FALLBACK.
|
| + static void SetFallbackSearchEnginesDisabledForTesting(bool disabled);
|
| +
|
| // Gets a pointer to the current Default Search Engine. If NULL, indicates
|
| // that Default Search is explicitly disabled. |source|, if not NULL, will be
|
| // filled in with the source of the result.
|
|
|