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

Unified Diff: chrome/browser/search_engines/template_url_fetcher.h

Issue 9811022: Misc. small cleanups to minimize TemplateURL refactoring diffs: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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/search_engines/template_url_fetcher.h
===================================================================
--- chrome/browser/search_engines/template_url_fetcher.h (revision 128075)
+++ chrome/browser/search_engines/template_url_fetcher.h (working copy)
@@ -38,6 +38,12 @@
// it is downloaded. If successful and the result can be parsed, a TemplateURL
// is added to the TemplateURLService. Takes ownership of |callbacks|.
//
+ // If |provider_type| is AUTODETECTED_PROVIDER, |keyword| must be non-empty,
+ // and if there's already a non-replaceable TemplateURL in the model for
+ // |keyword|, or we're already downloading an OSDD for this keyword, no
+ // download is started. If |provider_type| is EXPLICIT_PROVIDER, |keyword| is
+ // ignored.
+ //
// |web_contents| specifies which WebContents displays the page the OSDD is
// downloaded for. |web_contents| must not be NULL, except during tests.
void ScheduleDownload(const string16& keyword,

Powered by Google App Engine
This is Rietveld 408576698