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

Side by Side Diff: ipc/ipc_message_utils.h

Issue 6997006: iwyu: Include stringprintf.h where appropriate, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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
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 #ifndef IPC_IPC_MESSAGE_UTILS_H_ 5 #ifndef IPC_IPC_MESSAGE_UTILS_H_
6 #define IPC_IPC_MESSAGE_UTILS_H_ 6 #define IPC_IPC_MESSAGE_UTILS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <map> 10 #include <map>
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/format_macros.h" 15 #include "base/format_macros.h"
16 #include "base/string16.h" 16 #include "base/string16.h"
17 #include "base/stringprintf.h"
17 #include "base/string_util.h" 18 #include "base/string_util.h"
18 #include "base/tuple.h" 19 #include "base/tuple.h"
19 #include "ipc/ipc_param_traits.h" 20 #include "ipc/ipc_param_traits.h"
20 #include "ipc/ipc_sync_message.h" 21 #include "ipc/ipc_sync_message.h"
21 22
22 #if defined(COMPILER_GCC) 23 #if defined(COMPILER_GCC)
23 // GCC "helpfully" tries to inline template methods in release mode. Except we 24 // GCC "helpfully" tries to inline template methods in release mode. Except we
24 // want the majority of the template junk being expanded once in the 25 // want the majority of the template junk being expanded once in the
25 // implementation file (and only provide the definitions in 26 // implementation file (and only provide the definitions in
26 // ipc_message_utils_impl.h in those files) and exported, instead of expanded 27 // ipc_message_utils_impl.h in those files) and exported, instead of expanded
(...skipping 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after
1217 ReplyParam p(a, b, c, d, e); 1218 ReplyParam p(a, b, c, d, e);
1218 WriteParam(reply, p); 1219 WriteParam(reply, p);
1219 } 1220 }
1220 }; 1221 };
1221 1222
1222 //----------------------------------------------------------------------------- 1223 //-----------------------------------------------------------------------------
1223 1224
1224 } // namespace IPC 1225 } // namespace IPC
1225 1226
1226 #endif // IPC_IPC_MESSAGE_UTILS_H_ 1227 #endif // IPC_IPC_MESSAGE_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698