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

Unified Diff: chrome/browser/ui/app_list/search/common/webservice_search_provider.cc

Issue 1260033003: Partially componentize //chrome/browser/search/search.{h,cc} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation on iOS Created 5 years, 4 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/ui/app_list/search/common/webservice_search_provider.cc
diff --git a/chrome/browser/ui/app_list/search/common/webservice_search_provider.cc b/chrome/browser/ui/app_list/search/common/webservice_search_provider.cc
index 32e64c17af6ea1ec57f62b1e6dab0b52e286b0e9..833ed434a49574d0f41fd3ddcf01505ca6d303b1 100644
--- a/chrome/browser/ui/app_list/search/common/webservice_search_provider.cc
+++ b/chrome/browser/ui/app_list/search/common/webservice_search_provider.cc
@@ -47,9 +47,8 @@ void WebserviceSearchProvider::StartThrottledQuery(
bool WebserviceSearchProvider::IsValidQuery(const base::string16& query) {
// If |query| contains sensitive data, bail out and do not create the place
// holder "search-web-store" result.
- if (IsSensitiveInput(query) ||
- (query.size() < kMinimumQueryLength) ||
- !chrome::IsSuggestPrefEnabled(profile_)) {
+ if (IsSensitiveInput(query) || (query.size() < kMinimumQueryLength) ||
+ !search::IsSuggestPrefEnabled(profile_)) {
return false;
}
« no previous file with comments | « chrome/browser/thumbnails/thumbnail_service_impl.cc ('k') | chrome/browser/ui/bookmarks/bookmark_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698