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

Unified Diff: chrome/browser/autocomplete/search_provider.h

Issue 3047: Merge r1978 to Beta to stop sending queries with username info,... (Closed) Base URL: svn://chrome-svn/chrome/branches/chrome_official_branch/src/
Patch Set: Created 12 years, 3 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 | « chrome/browser/autocomplete/autocomplete.cc ('k') | chrome/browser/autocomplete/search_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/search_provider.h
===================================================================
--- chrome/browser/autocomplete/search_provider.h (revision 2179)
+++ chrome/browser/autocomplete/search_provider.h (working copy)
@@ -129,6 +129,11 @@
void StartOrStopHistoryQuery(bool minimal_changes, bool synchronous_only);
void StartOrStopSuggestQuery(bool minimal_changes, bool synchronous_only);
+ // Returns true when the current query can be sent to the Suggest service.
+ // This will be false e.g. when Suggest is disabled, the query contains
+ // potentially private data, etc.
+ bool IsQuerySuitableForSuggest() const;
+
// Functions to stop the separate asynchronous subcomponents.
// NOTE: These functions do not update |done_|. Callers must do so.
void StopHistory();
« no previous file with comments | « chrome/browser/autocomplete/autocomplete.cc ('k') | chrome/browser/autocomplete/search_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698