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

Side by Side Diff: base/callback_internal.h

Issue 6759017: iwyu: Cleanup in the following files: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright again. Created 9 years, 8 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/bzip2_error_handler.cc ('k') | base/command_line.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) 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 // 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 10 #pragma once
11 11
12 #include <stddef.h>
13
12 #include "base/base_api.h" 14 #include "base/base_api.h"
13 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
14 16
15 namespace base { 17 namespace base {
16 namespace internal { 18 namespace internal {
17 19
18 // InvokerStorageBase is used to provide an opaque handle that the Callback 20 // InvokerStorageBase is used to provide an opaque handle that the Callback
19 // class can use to represent a function object with bound arguments. It 21 // class can use to represent a function object with bound arguments. It
20 // behaves as an existential type that is used by a corresponding 22 // behaves as an existential type that is used by a corresponding
21 // DoInvoke function to perform the function execution. This allows 23 // DoInvoke function to perform the function execution. This allows
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 template <typename T> 126 template <typename T>
125 struct ParamTraits<T[]> { 127 struct ParamTraits<T[]> {
126 typedef const T* ForwardType; 128 typedef const T* ForwardType;
127 typedef const T* StorageType; 129 typedef const T* StorageType;
128 }; 130 };
129 131
130 } // namespace internal 132 } // namespace internal
131 } // namespace base 133 } // namespace base
132 134
133 #endif // BASE_CALLBACK_INTERNAL_H_ 135 #endif // BASE_CALLBACK_INTERNAL_H_
OLDNEW
« no previous file with comments | « base/bzip2_error_handler.cc ('k') | base/command_line.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698