diff options
author | sdefresne <sdefresne@chromium.org> | 2014-11-12 03:02:36 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-12 11:02:58 +0000 |
commit | 597713e50f4b2c5e2e9270721d60aac09e7529f4 (patch) | |
tree | 8d70f1f6eb4837cb4584ec74a3155bb753daa1b2 /components/history.gypi | |
parent | 3613f53cc99e75784e0e311a6c99aa5460ed17c1 (diff) | |
download | chromium_src-597713e50f4b2c5e2e9270721d60aac09e7529f4.zip chromium_src-597713e50f4b2c5e2e9270721d60aac09e7529f4.tar.gz chromium_src-597713e50f4b2c5e2e9270721d60aac09e7529f4.tar.bz2 |
Refactor sending notification from HistoryBackend
Introduce an interface HistoryBackendNotifier that forward
HistoryBackend notifications to the intended recipients.
Change AndroidProviderBackend to use HistoryBackendNotifier
instead of HistoryBackend::Delegate (this will be required
once NOTIFICATION_HISTORY_URLS_{DELETED,MODIFIED} have been
converted to observers instead).
Change ExpireHistoryBackend to use HistoryBackendNotifier
instead of ExpireHistoryBackendDelegate since the new class
interface is a superset of the class.
BUG=373326
Review URL: https://codereview.chromium.org/708653003
Cr-Commit-Position: refs/heads/master@{#303815}
Diffstat (limited to 'components/history.gypi')
-rw-r--r-- | components/history.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/history.gypi b/components/history.gypi index 47bd086..870d866 100644 --- a/components/history.gypi +++ b/components/history.gypi @@ -24,6 +24,7 @@ ], 'sources': [ # Note: sources list duplicated in GN build. + 'history/core/browser/history_backend_notifier.h', 'history/core/browser/history_backend_observer.h', 'history/core/browser/history_client.cc', 'history/core/browser/history_client.h', |