diff options
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-20 16:02:23 +0000 |
---|---|---|
committer | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-20 16:02:23 +0000 |
commit | b224f79da757434cee55b721806ff8553fc80b0a (patch) | |
tree | 881f07f4f5cb2de7565ecba99b085994fb7cd03e /base/bind_internal_win.h.pump | |
parent | 7f7f19674990528290d019d36d588a6f02836f37 (diff) | |
download | chromium_src-b224f79da757434cee55b721806ff8553fc80b0a.zip chromium_src-b224f79da757434cee55b721806ff8553fc80b0a.tar.gz chromium_src-b224f79da757434cee55b721806ff8553fc80b0a.tar.bz2 |
Add support for base::Closure in the MessageLoop, and reimplement the whole sucker on top of base::Closure. After this, all Task objects that are posted will be wrapped in a closure prior to dispatch.
BUG=35223
TEST=unittests.
Review URL: http://codereview.chromium.org/6463013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82300 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/bind_internal_win.h.pump')
-rw-r--r-- | base/bind_internal_win.h.pump | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/base/bind_internal_win.h.pump b/base/bind_internal_win.h.pump index 06ceaca1..d293fcc 100644 --- a/base/bind_internal_win.h.pump +++ b/base/bind_internal_win.h.pump @@ -18,6 +18,11 @@ $var MAX_ARITY = 6 #define BASE_BIND_INTERNAL_WIN_H_ #pragma once +// In the x64 architecture in Windows, __fastcall, __stdcall, etc, are all +// the same as __cdecl which would turn the following specializations into +// multiple definitions. +#if !defined(ARCH_CPU_X86_64) + namespace base { namespace internal { @@ -69,4 +74,6 @@ $for ARG [[ } // namespace internal } // namespace base +#endif // !defined(ARCH_CPU_X86_64) + #endif // BASE_BIND_INTERNAL_WIN_H_ |