summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-27 13:48:32 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-27 13:48:32 +0000
commit5b3e4f88cd3a13ff0b4adde7e3672e7571dd0edf (patch)
tree1f6fc700c451e520581231f14dcc470b2a5b55f1 /chrome/chrome.gyp
parent200f7af3c22f5215997799a66011b0911941183b (diff)
downloadchromium_src-5b3e4f88cd3a13ff0b4adde7e3672e7571dd0edf.zip
chromium_src-5b3e4f88cd3a13ff0b4adde7e3672e7571dd0edf.tar.gz
chromium_src-5b3e4f88cd3a13ff0b4adde7e3672e7571dd0edf.tar.bz2
[Sync] Add WeakHandle class, which makes cross-thread method calls safe and easy
Add WeakHandle class, which makes cross-thread method calls safe and easy Use WeakHandle to solve a long-standing sync issue where SyncManager would need to pump the sync thread loop on shutdown, since arbitrary threads may post tasks on it for SyncManager. Clean up SyncManager::SyncInternal. BUG=78190, 89266 TEST= Review URL: http://codereview.chromium.org/7461086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94283 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r--chrome/chrome.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 8b28b7d..962116b 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -736,6 +736,8 @@
'browser/sync/util/user_settings.h',
'browser/sync/util/user_settings_posix.cc',
'browser/sync/util/user_settings_win.cc',
+ 'browser/sync/weak_handle.cc',
+ 'browser/sync/weak_handle.h',
],
'include_dirs': [
'..',