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

Side by Side Diff: base/callback_internal.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/callback_forward.h ('k') | base/cancelable_callback.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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file contains utility functions and classes that help the 5 // This file contains utility functions and classes that help the
6 // implementation, and management of the Callback objects. 6 // implementation, and management of the Callback objects.
7 7
8 #ifndef BASE_CALLBACK_INTERNAL_H_ 8 #ifndef BASE_CALLBACK_INTERNAL_H_
9 #define BASE_CALLBACK_INTERNAL_H_ 9 #define BASE_CALLBACK_INTERNAL_H_
10 #pragma once
11 10
12 #include <stddef.h> 11 #include <stddef.h>
13 12
14 #include "base/base_export.h" 13 #include "base/base_export.h"
15 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
16 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
17 16
18 template <typename T> 17 template <typename T>
19 class ScopedVector; 18 class ScopedVector;
20 19
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 return p.Pass(); 184 return p.Pass();
186 } 185 }
187 186
188 template <typename T> 187 template <typename T>
189 ScopedVector<T> CallbackForward(ScopedVector<T>& p) { return p.Pass(); } 188 ScopedVector<T> CallbackForward(ScopedVector<T>& p) { return p.Pass(); }
190 189
191 } // namespace internal 190 } // namespace internal
192 } // namespace base 191 } // namespace base
193 192
194 #endif // BASE_CALLBACK_INTERNAL_H_ 193 #endif // BASE_CALLBACK_INTERNAL_H_
OLDNEW
« no previous file with comments | « base/callback_forward.h ('k') | base/cancelable_callback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698