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

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

Issue 9789001: Changes to add duration into history database. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added a column in visits db instead of a new table Created 8 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/history/history.cc » ('j') | chrome/browser/history/history_tab_helper.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history.h
diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h
index 230eb4f419eb81ee26c3aff0a032fd58420561f3..cab3f140262d50b6bb264726712249a98e1d609d 100644
--- a/chrome/browser/history/history.h
+++ b/chrome/browser/history/history.h
@@ -220,6 +220,18 @@ class HistoryService : public CancelableRequestProvider,
// title in the full text index.
void SetPageTitle(const GURL& url, const string16& title);
+ // Updates the history database with more information about a page.
+ // Right now, we only update with a page's ending time stamp information.
+ // The page can be identified by the combination of the pointer to
+ // a RenderProcessHost, the page id and the url.
+ //
+ // The given pointer will not be dereferenced, it is only used for
+ // identification purposes, hence it is a void*.
+ void UpdateDBWithPageInfo(const void* host,
+ int32 page_id,
+ const GURL& url,
+ const base::Time end_ts);
+
// Indexing ------------------------------------------------------------------
// Notifies history of the body text of the given recently-visited URL.
« no previous file with comments | « no previous file | chrome/browser/history/history.cc » ('j') | chrome/browser/history/history_tab_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698