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

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

Issue 5774004: Make HistoryContentsProvider results deletable (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Move DeleteMatch to common base class, update includes, etc. Created 10 years 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 31b75ecba9022330b7d597f7520fc6b2f9a9e1b2..657403f45efaf13e4b8a487e389908a2db80656e 100644
--- a/chrome/browser/autocomplete/history_contents_provider.h
+++ b/chrome/browser/autocomplete/history_contents_provider.h
@@ -6,7 +6,7 @@
#define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_CONTENTS_PROVIDER_H_
#pragma once
-#include "chrome/browser/autocomplete/autocomplete.h"
+#include "chrome/browser/autocomplete/history_provider.h"
#include "chrome/browser/history/history.h"
namespace bookmark_utils {
@@ -20,16 +20,15 @@ struct TitleMatch;
// previously viewed pages. This is asynchronous.
// . BookmarkModel: provides results for matches in the titles of bookmarks.
// This is synchronous.
-class HistoryContentsProvider : public AutocompleteProvider {
+class HistoryContentsProvider : public HistoryProvider {
public:
HistoryContentsProvider(ACProviderListener* listener, Profile* profile);
// As necessary asks the history service for the relevant results. When
// done SetResults is invoked.
virtual void Start(const AutocompleteInput& input,
- bool minimal_changes);
-
- virtual void Stop();
+ bool minimal_changes) OVERRIDE;
+ virtual void Stop() OVERRIDE;
// Returns the total number of matches available in the database, up to
// kMaxMatchCount, whichever is smaller.

Powered by Google App Engine
This is Rietveld 408576698