diff options
author | sdefresne <sdefresne@chromium.org> | 2014-10-15 11:15:44 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-15 18:16:12 +0000 |
commit | c8eb77ed61f9c44efac034bd6bd3a0a6ba553cfb (patch) | |
tree | 67c05e2572a4587a7999754d910cfa1dc806b315 /components/history.gypi | |
parent | 573743f8ee7b2a4ebd4ce230525244911b44a0f1 (diff) | |
download | chromium_src-c8eb77ed61f9c44efac034bd6bd3a0a6ba553cfb.zip chromium_src-c8eb77ed61f9c44efac034bd6bd3a0a6ba553cfb.tar.gz chromium_src-c8eb77ed61f9c44efac034bd6bd3a0a6ba553cfb.tar.bz2 |
Refactor sending NOTIFICATION_HISTORY_URL_VISITED
Refactor //chrome/browser/history code sending the notification
NOTIFICATION_HISTORY_URL_VISITED so that the notification is not
send from the core of the component.
Introduce HistoryServiceObserver to follow the observer pattern
instead of notification and use this pattern in the core history
code.
Introduce HistoryBackendObserver to follow the observer pattern
instead of notification in the history thread.
ChromeHistoryClient forward the HistoryServiceObserver events to
the notification system so that porting the clients can be on a
case by case basis and does not block the componentization work.
BUG=373326
Review URL: https://codereview.chromium.org/631253002
Cr-Commit-Position: refs/heads/master@{#299719}
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 9db304f..47bd086 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_observer.h', 'history/core/browser/history_client.cc', 'history/core/browser/history_client.h', 'history/core/browser/history_match.cc', |