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

Unified Diff: chrome/browser/autocomplete/history_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_provider.h
diff --git a/chrome/browser/autocomplete/history_provider.h b/chrome/browser/autocomplete/history_provider.h
index bdefabd8dae7d7a56e92b7e8970c26d778ba26f7..a1119a4042433dfc86a252796c2b6661ab4f1998 100644
--- a/chrome/browser/autocomplete/history_provider.h
+++ b/chrome/browser/autocomplete/history_provider.h
@@ -6,8 +6,8 @@
#define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_PROVIDER_H_
#pragma once
+#include "base/compiler_specific.h"
#include "chrome/browser/autocomplete/autocomplete.h"
-#include "chrome/browser/autocomplete/history_provider_util.h"
namespace history {
@@ -31,6 +31,8 @@ class HistoryProvider : public AutocompleteProvider {
Profile* profile,
const char* name);
+ virtual void DeleteMatch(const AutocompleteMatch& match) OVERRIDE;
Peter Kasting 2010/12/17 19:32:01 This causes the HistoryQuickProvider to inherit th
+
// Fixes up user URL input to make it more possible to match against. Among
// many other things, this takes care of the following:
// * Prepending file:// to file URLs

Powered by Google App Engine
This is Rietveld 408576698