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

Unified Diff: chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h

Issue 280113002: Revert of Use the DefaultSearchManager as the exclusive authority on DSE, ignoring Web Data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698