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

Side by Side Diff: base/callback.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/build_time.h ('k') | base/callback.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 callback.h.pump 2 // pump.py callback.h.pump
3 // DO NOT EDIT BY HAND!!! 3 // DO NOT EDIT BY HAND!!!
4 4
5 5
6 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 6 // Copyright (c) 2012 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 #ifndef BASE_CALLBACK_H_ 10 #ifndef BASE_CALLBACK_H_
11 #define BASE_CALLBACK_H_ 11 #define BASE_CALLBACK_H_
12 #pragma once
13 12
14 #include "base/callback_forward.h" 13 #include "base/callback_forward.h"
15 #include "base/callback_internal.h" 14 #include "base/callback_internal.h"
16 #include "base/template_util.h" 15 #include "base/template_util.h"
17 16
18 // NOTE: Header files that do not require the full definition of Callback or 17 // NOTE: Header files that do not require the full definition of Callback or
19 // Closure should #include "base/callback_forward.h" instead of this file. 18 // Closure should #include "base/callback_forward.h" instead of this file.
20 19
21 // WHAT IS THIS: 20 // WHAT IS THIS:
22 // 21 //
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 }; 624 };
626 625
627 626
628 // Syntactic sugar to make Callbacks<void(void)> easier to declare since it 627 // Syntactic sugar to make Callbacks<void(void)> easier to declare since it
629 // will be used in a lot of APIs with delayed execution. 628 // will be used in a lot of APIs with delayed execution.
630 typedef Callback<void(void)> Closure; 629 typedef Callback<void(void)> Closure;
631 630
632 } // namespace base 631 } // namespace base
633 632
634 #endif // BASE_CALLBACK_H 633 #endif // BASE_CALLBACK_H
OLDNEW
« no previous file with comments | « base/build_time.h ('k') | base/callback.h.pump » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698