Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: base/bind_internal_win.h

Issue 1538743002: Switch to standard integer types in base/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DEPS roll too Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/bind_internal.h ('k') | base/bind_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Specializations of RunnableAdapter<> for Windows specific calling 5 // Specializations of RunnableAdapter<> for Windows specific calling
6 // conventions. Please see base/bind_internal.h for more info. 6 // conventions. Please see base/bind_internal.h for more info.
7 7
8 #ifndef BASE_BIND_INTERNAL_WIN_H_ 8 #ifndef BASE_BIND_INTERNAL_WIN_H_
9 #define BASE_BIND_INTERNAL_WIN_H_ 9 #define BASE_BIND_INTERNAL_WIN_H_
10 10
11 #include "build/build_config.h"
12
11 // In the x64 architecture in Windows, __fastcall, __stdcall, etc, are all 13 // In the x64 architecture in Windows, __fastcall, __stdcall, etc, are all
12 // the same as __cdecl which would turn the following specializations into 14 // the same as __cdecl which would turn the following specializations into
13 // multiple definitions. 15 // multiple definitions.
14 #if !defined(ARCH_CPU_X86_64) 16 #if !defined(ARCH_CPU_X86_64)
15 17
16 namespace base { 18 namespace base {
17 namespace internal { 19 namespace internal {
18 20
19 template <typename Functor> 21 template <typename Functor>
20 class RunnableAdapter; 22 class RunnableAdapter;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 private: 60 private:
59 R (__fastcall *function_)(Args...); 61 R (__fastcall *function_)(Args...);
60 }; 62 };
61 63
62 } // namespace internal 64 } // namespace internal
63 } // namespace base 65 } // namespace base
64 66
65 #endif // !defined(ARCH_CPU_X86_64) 67 #endif // !defined(ARCH_CPU_X86_64)
66 68
67 #endif // BASE_BIND_INTERNAL_WIN_H_ 69 #endif // BASE_BIND_INTERNAL_WIN_H_
OLDNEW
« no previous file with comments | « base/bind_internal.h ('k') | base/bind_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698