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

Side by Side Diff: base/bind_internal_win.h

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.h.pump ('k') | base/bind_internal_win.h.pump » ('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 file was GENERATED by command: 1 // This file was GENERATED by command:
2 // pump.py bind_internal_win.h.pump 2 // pump.py bind_internal_win.h.pump
3 // DO NOT EDIT BY HAND!!! 3 // DO NOT EDIT BY HAND!!!
4 4
5 5
6 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 6 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
7 // Use of this source code is governed by a BSD-style license that can be 7 // Use of this source code is governed by a BSD-style license that can be
8 // found in the LICENSE file. 8 // found in the LICENSE file.
9 9
10 // Specializations of RunnableAdapter<> for Windows specific calling 10 // Specializations of RunnableAdapter<> for Windows specific calling
11 // conventions. Please see base/bind_internal.h for more info. 11 // conventions. Please see base/bind_internal.h for more info.
12 12
13 #ifndef BASE_BIND_INTERNAL_WIN_H_ 13 #ifndef BASE_BIND_INTERNAL_WIN_H_
14 #define BASE_BIND_INTERNAL_WIN_H_ 14 #define BASE_BIND_INTERNAL_WIN_H_
15 #pragma once
16 15
17 // In the x64 architecture in Windows, __fastcall, __stdcall, etc, are all 16 // In the x64 architecture in Windows, __fastcall, __stdcall, etc, are all
18 // the same as __cdecl which would turn the following specializations into 17 // the same as __cdecl which would turn the following specializations into
19 // multiple definitions. 18 // multiple definitions.
20 #if !defined(ARCH_CPU_X86_64) 19 #if !defined(ARCH_CPU_X86_64)
21 20
22 namespace base { 21 namespace base {
23 namespace internal { 22 namespace internal {
24 23
25 template <typename Functor> 24 template <typename Functor>
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 private: 359 private:
361 R (__fastcall *function_)(A1, A2, A3, A4, A5, A6, A7); 360 R (__fastcall *function_)(A1, A2, A3, A4, A5, A6, A7);
362 }; 361 };
363 362
364 } // namespace internal 363 } // namespace internal
365 } // namespace base 364 } // namespace base
366 365
367 #endif // !defined(ARCH_CPU_X86_64) 366 #endif // !defined(ARCH_CPU_X86_64)
368 367
369 #endif // BASE_BIND_INTERNAL_WIN_H_ 368 #endif // BASE_BIND_INTERNAL_WIN_H_
OLDNEW
« no previous file with comments | « base/bind_internal.h.pump ('k') | base/bind_internal_win.h.pump » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698