diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-07 19:03:40 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-07 19:03:40 +0000 |
commit | 599874373cf5ae8b1ba75afda760534063012ccd (patch) | |
tree | a2fc39478768610c538e34c6fc98032dec630760 /chrome/browser/history/history_backend.h | |
parent | ded678ec915e3ca698c91d67611ba48f8a938511 (diff) | |
download | chromium_src-599874373cf5ae8b1ba75afda760534063012ccd.zip chromium_src-599874373cf5ae8b1ba75afda760534063012ccd.tar.gz chromium_src-599874373cf5ae8b1ba75afda760534063012ccd.tar.bz2 |
Added a new interface IChromeHistoryIndexer which needs to be implemented by
indexers which are interested in indexing Chrome's web history. These should
register their CLSID in HKCU\Software\Google\Google Chrome\IndexerPlugins and
this is be used by Chrome to publish its index.
Added code to publish the index too.
Checked in for Vijay Thadkal <veejay.t.s@gmail.com> (Google). Reitveld #9007.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5002 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/history_backend.h')
-rw-r--r-- | chrome/browser/history/history_backend.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h index b03a781..a7c9310 100644 --- a/chrome/browser/history/history_backend.h +++ b/chrome/browser/history/history_backend.h @@ -31,6 +31,7 @@ struct ThumbnailScore; namespace history { class CommitLaterTask; +class HistoryPublisher; // *See the .cc file for more information on the design.* // @@ -484,6 +485,10 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>, // loaded. BookmarkService* bookmark_service_; + // Publishes the history to all indexers which are registered to receive + // history data from us. Can be NULL if there are no listeners. + scoped_ptr<HistoryPublisher> history_publisher_; + DISALLOW_EVIL_CONSTRUCTORS(HistoryBackend); }; |