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

Unified Diff: chrome/browser/history/in_memory_history_backend.h

Issue 6135001: Makes the in memory db update rows that have search terms associated (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Improve comments and forward declare 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/history/in_memory_history_backend.h
diff --git a/chrome/browser/history/in_memory_history_backend.h b/chrome/browser/history/in_memory_history_backend.h
index c7758006ec8e15e317326982083626d56110087f..6e56636668d93c5c7dd1194dd2e96df523ec778f 100644
--- a/chrome/browser/history/in_memory_history_backend.h
+++ b/chrome/browser/history/in_memory_history_backend.h
@@ -23,6 +23,7 @@
#include "chrome/common/notification_registrar.h"
class FilePath;
+class GURL;
class HistoryDatabase;
class Profile;
@@ -77,6 +78,9 @@ class InMemoryHistoryBackend : public NotificationObserver {
// Handler for HISTORY_KEYWORD_SEARCH_TERM_UPDATED.
void OnKeywordSearchTermUpdated(const KeywordSearchTermDetails& details);
+ // Returns true if there is a keyword associated with the specified url.
+ bool HasKeyword(const GURL& url);
+
NotificationRegistrar registrar_;
scoped_ptr<InMemoryDatabase> db_;

Powered by Google App Engine
This is Rietveld 408576698