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

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') | chrome/browser/history/history_backend.h » ('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..7c4ae1f7983aaf019aeedea8a2211bdbc79ffd68 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 a page with its 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 UpdatePageInfo(const void* host,
brettw 2012/03/26 20:25:06 Updating a page's ending time stamp seems pretty d
Wei Li 2012/03/27 18:11:53 Changed to UpdateDBWithPageInfo which could be mor
brettw 2012/03/28 16:33:48 My problem wasn't that "update" was ambiguous, but
Wei Li 2012/03/28 17:37:38 Hope the name is clearer this time.
+ 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_backend.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698