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

Unified Diff: chrome/browser/history/url_database.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/url_database.h
diff --git a/chrome/browser/history/url_database.h b/chrome/browser/history/url_database.h
index 49bf5f0553bd42ba9a9b61bbc62ad1a3e78dd907..ae1d7cd818f9de00bfc4db90aa60de404ebc2fcb 100644
--- a/chrome/browser/history/url_database.h
+++ b/chrome/browser/history/url_database.h
@@ -165,6 +165,10 @@ class URLDatabase {
TemplateURLID keyword_id,
const string16& term);
+ // Looks up a keyword search term given a url id. Fills row with the data.
+ // Returns true on success and false otherwise.
+ bool GetKeywordSearchTermRow(URLID url_id, KeywordSearchTermRow* row);
+
// Deletes all search terms for the specified keyword that have been added by
// way of SetKeywordSearchTermsForURL.
void DeleteAllSearchTermsForKeyword(TemplateURLID keyword_id);

Powered by Google App Engine
This is Rietveld 408576698