diff options
author | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-02 04:18:14 +0000 |
---|---|---|
committer | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-02 04:18:14 +0000 |
commit | 7e9c714608ab019fa2637e14afd2c7c6f84d38cc (patch) | |
tree | 027c9e16bb03b6757bc1369a8334d9ea23c2b44e /chrome/chrome.gyp | |
parent | 17af2abc53be34c9e5eff2b611d09f69b3e9d409 (diff) | |
download | chromium_src-7e9c714608ab019fa2637e14afd2c7c6f84d38cc.zip chromium_src-7e9c714608ab019fa2637e14afd2c7c6f84d38cc.tar.gz chromium_src-7e9c714608ab019fa2637e14afd2c7c6f84d38cc.tar.bz2 |
Reapplying 120150 - [Sync] Add ChromeSyncNotificationBridge class to sync notifier framework for sessions use.
The ChromeSyncNotificationBridge listens to notifications from chrome events that should
trigger a sync notification. It is a thread-safe class that will post the
notifications to the thread the SyncNotifierObserver is on, thereby allowing,
for example, events on the UI thread to trigger notifications on the Sync
thread. At the moment the only such event is NOTIFICATION_SYNC_REFRESH, which
is only triggered by the sessions datatype.
TBR=zea
BUG=103469
TEST=manually going to chrome://newtab#opentabs and ensuring a sync cycle
occurs.
Review URL: http://codereview.chromium.org/9079002
Review URL: https://chromiumcodereview.appspot.com/9310046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120160 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r-- | chrome/chrome.gyp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index a3fd78a..73adf6a 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -559,10 +559,14 @@ 'type': 'static_library', 'variables': { 'enable_wexit_time_destructors': 1, }, 'sources': [ + 'browser/sync/notifier/bridged_sync_notifier.h', + 'browser/sync/notifier/bridged_sync_notifier.cc', 'browser/sync/notifier/cache_invalidation_packet_handler.cc', 'browser/sync/notifier/cache_invalidation_packet_handler.h', 'browser/sync/notifier/chrome_invalidation_client.cc', 'browser/sync/notifier/chrome_invalidation_client.h', + 'browser/sync/notifier/chrome_sync_notification_bridge.h', + 'browser/sync/notifier/chrome_sync_notification_bridge.cc', 'browser/sync/notifier/chrome_system_resources.cc', 'browser/sync/notifier/chrome_system_resources.h', 'browser/sync/notifier/invalidation_notifier.h', |