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

Side by Side Diff: base/bind_internal_win.h.pump

Issue 10735044: Remove #pragma once. Just from base/ for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « base/bind_internal_win.h ('k') | base/bits.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 $$ This is a pump file for generating file templates. Pump is a python 1 $$ This is a pump file for generating file templates. Pump is a python
2 $$ script that is part of the Google Test suite of utilities. Description 2 $$ script that is part of the Google Test suite of utilities. Description
3 $$ can be found here: 3 $$ can be found here:
4 $$ 4 $$
5 $$ http://code.google.com/p/googletest/wiki/PumpManual 5 $$ http://code.google.com/p/googletest/wiki/PumpManual
6 $$ 6 $$
7 7
8 $$ See comment for MAX_ARITY in base/bind.h.pump. 8 $$ See comment for MAX_ARITY in base/bind.h.pump.
9 $var MAX_ARITY = 7 9 $var MAX_ARITY = 7
10 10
11 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 11 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
12 // Use of this source code is governed by a BSD-style license that can be 12 // Use of this source code is governed by a BSD-style license that can be
13 // found in the LICENSE file. 13 // found in the LICENSE file.
14 14
15 // Specializations of RunnableAdapter<> for Windows specific calling 15 // Specializations of RunnableAdapter<> for Windows specific calling
16 // conventions. Please see base/bind_internal.h for more info. 16 // conventions. Please see base/bind_internal.h for more info.
17 17
18 #ifndef BASE_BIND_INTERNAL_WIN_H_ 18 #ifndef BASE_BIND_INTERNAL_WIN_H_
19 #define BASE_BIND_INTERNAL_WIN_H_ 19 #define BASE_BIND_INTERNAL_WIN_H_
20 #pragma once
21 20
22 // In the x64 architecture in Windows, __fastcall, __stdcall, etc, are all 21 // In the x64 architecture in Windows, __fastcall, __stdcall, etc, are all
23 // the same as __cdecl which would turn the following specializations into 22 // the same as __cdecl which would turn the following specializations into
24 // multiple definitions. 23 // multiple definitions.
25 #if !defined(ARCH_CPU_X86_64) 24 #if !defined(ARCH_CPU_X86_64)
26 25
27 namespace base { 26 namespace base {
28 namespace internal { 27 namespace internal {
29 28
30 template <typename Functor> 29 template <typename Functor>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 }; 72 };
74 73
75 ]] $$for ARITY 74 ]] $$for ARITY
76 75
77 } // namespace internal 76 } // namespace internal
78 } // namespace base 77 } // namespace base
79 78
80 #endif // !defined(ARCH_CPU_X86_64) 79 #endif // !defined(ARCH_CPU_X86_64)
81 80
82 #endif // BASE_BIND_INTERNAL_WIN_H_ 81 #endif // BASE_BIND_INTERNAL_WIN_H_
OLDNEW
« no previous file with comments | « base/bind_internal_win.h ('k') | base/bits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698