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

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

Issue 6268005: Removes the link in the omnibox for searching history. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test Created 9 years, 11 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/autocomplete/history_contents_provider.h
diff --git a/chrome/browser/autocomplete/history_contents_provider.h b/chrome/browser/autocomplete/history_contents_provider.h
index 657403f45efaf13e4b8a487e389908a2db80656e..504df3fc9949264c9c791982b45cfef321c0cb10 100644
--- a/chrome/browser/autocomplete/history_contents_provider.h
+++ b/chrome/browser/autocomplete/history_contents_provider.h
@@ -30,15 +30,6 @@ class HistoryContentsProvider : public HistoryProvider {
bool minimal_changes) OVERRIDE;
virtual void Stop() OVERRIDE;
- // Returns the total number of matches available in the database, up to
- // kMaxMatchCount, whichever is smaller.
- // Return value is incomplete if done() returns false.
- size_t db_match_count() const { return results_.size(); }
-
- // The maximum match count we'll report. If the db_match_count is greater
- // than this, it will be clamped to this result.
- static const size_t kMaxMatchCount = 50;
-
private:
~HistoryContentsProvider();
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_unittest.cc ('k') | chrome/browser/autocomplete/history_contents_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698