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

Side by Side Diff: chromeos/binder/constants.h

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 4 years, 12 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 | « chromeos/binder/command_stream.cc ('k') | chromeos/binder/driver.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CHROMEOS_BINDER_CONSTANTS_H_ 5 #ifndef CHROMEOS_BINDER_CONSTANTS_H_
6 #define CHROMEOS_BINDER_CONSTANTS_H_ 6 #define CHROMEOS_BINDER_CONSTANTS_H_
7 7
8 #define BINDER_PACK_CHARS(c1, c2, c3, c4) \ 8 #define BINDER_PACK_CHARS(c1, c2, c3, c4) \
9 (((c1) << 24) | ((c2) << 16) | ((c3) << 8) | (c4)) 9 (((c1) << 24) | ((c2) << 16) | ((c3) << 8) | (c4))
10 10
11 namespace binder { 11 namespace binder {
12 12
13 // Context manager's handle is always 0. 13 // Context manager's handle is always 0.
14 const uint32 kContextManagerHandle = 0; 14 const uint32_t kContextManagerHandle = 0;
15 15
16 // Transaction code constants. 16 // Transaction code constants.
17 const uint32 kFirstTransactionCode = 0x00000001; 17 const uint32_t kFirstTransactionCode = 0x00000001;
18 const uint32 kLastTransactionCode = 0x00ffffff; 18 const uint32_t kLastTransactionCode = 0x00ffffff;
19 const uint32 kPingTransactionCode = BINDER_PACK_CHARS('_', 'P', 'N', 'G'); 19 const uint32_t kPingTransactionCode = BINDER_PACK_CHARS('_', 'P', 'N', 'G');
20 20
21 } // namespace binder 21 } // namespace binder
22 22
23 #endif // CHROMEOS_BINDER_CONSTANTS_H_ 23 #endif // CHROMEOS_BINDER_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chromeos/binder/command_stream.cc ('k') | chromeos/binder/driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698