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

Side by Side Diff: ipc/ipc_message_utils.cc

Issue 1691613002: Fix Android x64 build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « ipc/ipc_message_utils.h ('k') | no next file » | 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 #include "ipc/ipc_message_utils.h" 5 #include "ipc/ipc_message_utils.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 } 407 }
408 408
409 void ParamTraits<int>::Log(const param_type& p, std::string* l) { 409 void ParamTraits<int>::Log(const param_type& p, std::string* l) {
410 l->append(base::IntToString(p)); 410 l->append(base::IntToString(p));
411 } 411 }
412 412
413 void ParamTraits<unsigned int>::Log(const param_type& p, std::string* l) { 413 void ParamTraits<unsigned int>::Log(const param_type& p, std::string* l) {
414 l->append(base::UintToString(p)); 414 l->append(base::UintToString(p));
415 } 415 }
416 416
417 #if defined(OS_WIN) || defined(ARCH_CPU_ARM64) || defined(OS_LINUX) 417 #if defined(OS_WIN) || defined(OS_LINUX) || \
418 (defined(OS_ANDROID) && defined(ARCH_CPU_64_BITS))
418 void ParamTraits<long>::Log(const param_type& p, std::string* l) { 419 void ParamTraits<long>::Log(const param_type& p, std::string* l) {
419 l->append(base::Int64ToString(static_cast<int64_t>(p))); 420 l->append(base::Int64ToString(static_cast<int64_t>(p)));
420 } 421 }
421 422
422 void ParamTraits<unsigned long>::Log(const param_type& p, std::string* l) { 423 void ParamTraits<unsigned long>::Log(const param_type& p, std::string* l) {
423 l->append(base::Uint64ToString(static_cast<uint64_t>(p))); 424 l->append(base::Uint64ToString(static_cast<uint64_t>(p)));
424 } 425 }
425 #endif 426 #endif
426 427
427 void ParamTraits<long long>::Log(const param_type& p, std::string* l) { 428 void ParamTraits<long long>::Log(const param_type& p, std::string* l) {
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
1215 return result; 1216 return result;
1216 } 1217 }
1217 1218
1218 void ParamTraits<MSG>::Log(const param_type& p, std::string* l) { 1219 void ParamTraits<MSG>::Log(const param_type& p, std::string* l) {
1219 l->append("<MSG>"); 1220 l->append("<MSG>");
1220 } 1221 }
1221 1222
1222 #endif // OS_WIN 1223 #endif // OS_WIN
1223 1224
1224 } // namespace IPC 1225 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/ipc_message_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698