Index: chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h |
diff --git a/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h b/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h |
index 94c73ccd1778df8f61970d24d1e5ed15efc58f07..732137017792133c3435e04337a6f7761a97c3f4 100644 |
--- a/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h |
+++ b/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h |
@@ -66,8 +66,15 @@ |
// Returns attributes of the search engine currently set as the default (or |
// an empty dictionary if there is none). |
- // The dictionary is in the same format as persisted to preferences by |
- // DefaultSearchManager::SetUserSelectedDefaultSearchEngine. |
+ // The returned attributes correspond in meaning and format to the user |
+ // preferences stored by TemplateURLService::SaveDefaultSearchProviderToPrefs, |
+ // and will be named after the second path name segment of the respective |
+ // preference (i.e. the part after "default_search_provider."). |
+ // Note that: |
+ // 1.) the "enabled" attribute will not be present, as it is not technically |
+ // an attribute of a search provider, |
+ // 2.) "encodings" will be a list of strings, in contrast to a single string |
+ // with tokens delimited by semicolons, but the order will be the same. |
virtual scoped_ptr<base::DictionaryValue> |
GetDefaultSearchProviderDetails() const = 0; |