diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-30 04:23:00 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-30 04:23:00 +0000 |
commit | f48d4e96e5de24da68e2a755e74b6cae63cd0843 (patch) | |
tree | 0b29d24d1fec62d28a4535dd586c002e9f39c186 /chrome/chrome.gyp | |
parent | 9365e0553abbefbb54cd6f82586f2a1c4790e522 (diff) | |
download | chromium_src-f48d4e96e5de24da68e2a755e74b6cae63cd0843.zip chromium_src-f48d4e96e5de24da68e2a755e74b6cae63cd0843.tar.gz chromium_src-f48d4e96e5de24da68e2a755e74b6cae63cd0843.tar.bz2 |
Added NetworkChangeObserverProxy class.
This class forwards notifications from a NetworkChangeNotifier on one
thread to an observer on another. This will be used to enable
the sync threads to listen to NCN notifications from the IO thread.
BUG=42606
TEST=unittests
Review URL: http://codereview.chromium.org/1704014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46037 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r-- | chrome/chrome.gyp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index 49bb392..35d7319 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -1024,6 +1024,19 @@ }], ], }, + { + # TODO(akalin): Consider moving this into its own file. + 'target_name': 'sync_net', + 'type': '<(library)', + 'sources': [ + 'browser/sync/net/network_change_observer_proxy.cc', + 'browser/sync/net/network_change_observer_proxy.h', + ], + 'dependencies': [ + '../base/base.gyp:base', + '../net/net.gyp:net_base', + ], + }, ], 'conditions': [ ['OS=="mac"', |