diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 03:16:58 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 03:16:58 +0000 |
commit | ec0b6c4eab34c0018869aad1e215aaa3868b3b55 (patch) | |
tree | 6de6f2eb94d18bb54804d985aaedb9b098f05b39 /chrome/browser/history/history.h | |
parent | 722119e949c75e5c44fb52b628cd1afbd095f6b8 (diff) | |
download | chromium_src-ec0b6c4eab34c0018869aad1e215aaa3868b3b55.zip chromium_src-ec0b6c4eab34c0018869aad1e215aaa3868b3b55.tar.gz chromium_src-ec0b6c4eab34c0018869aad1e215aaa3868b3b55.tar.bz2 |
Changes TabContentsDelegate::ShouldAddNavigationToHistory to be passed
the HistoryAddPageArgs so that they can be cached and used later
on. Refactors some other code that interacts with history so that it
can be called separately as well.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3158029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57458 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/history.h')
-rw-r--r-- | chrome/browser/history/history.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h index 5bc3b7f..560db1a 100644 --- a/chrome/browser/history/history.h +++ b/chrome/browser/history/history.h @@ -48,15 +48,14 @@ class TypedUrlDataTypeController; } namespace history { - class InMemoryHistoryBackend; class InMemoryURLIndex; +class HistoryAddPageArgs; class HistoryBackend; class HistoryDatabase; struct HistoryDetails; class HistoryQueryTest; class URLDatabase; - } // namespace history @@ -206,6 +205,9 @@ class HistoryService : public CancelableRequestProvider, history::RedirectList(), visit_source, false); } + // All AddPage variants end up here. + void AddPage(const history::HistoryAddPageArgs& add_page_args); + // Sets the title for the given page. The page should be in history. If it // is not, this operation is ignored. This call will not update the full // text index. The last title set when the page is indexed will be the |