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

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: 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') | no next file with comments »
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..f3f6d6dc18dcfc909f74f17d3bcce7dfad73a9e7 100644
--- a/chrome/browser/history/history.h
+++ b/chrome/browser/history/history.h
@@ -220,6 +220,17 @@ class HistoryService : public CancelableRequestProvider,
// title in the full text index.
void SetPageTitle(const GURL& url, const string16& title);
+ // Updates the history database 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 UpdateWithPageEndTime(const void* host,
+ int32 page_id,
+ const GURL& url,
+ const base::Time end_ts);
brettw 2012/03/28 17:51:45 You don't need the const here (since you pass by v
Wei Li 2012/03/28 18:53:13 Done.
+
// 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698