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

Side by Side Diff: chromeos/binder/driver.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/constants.h ('k') | chromeos/binder/driver.cc » ('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_DRIVER_H_ 5 #ifndef CHROMEOS_BINDER_DRIVER_H_
6 #define CHROMEOS_BINDER_DRIVER_H_ 6 #define CHROMEOS_BINDER_DRIVER_H_
7 7
8 #include <stddef.h>
9
8 #include "base/files/scoped_file.h" 10 #include "base/files/scoped_file.h"
9 #include "base/macros.h" 11 #include "base/macros.h"
10 #include "chromeos/chromeos_export.h" 12 #include "chromeos/chromeos_export.h"
11 13
12 namespace binder { 14 namespace binder {
13 15
14 // Use this class to communicate with the binder driver provided by the kernel. 16 // Use this class to communicate with the binder driver provided by the kernel.
15 // This class is stateless and it's safe to access this class from multiple 17 // This class is stateless and it's safe to access this class from multiple
16 // threads. 18 // threads.
17 class CHROMEOS_EXPORT Driver { 19 class CHROMEOS_EXPORT Driver {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 56
55 base::ScopedFD fd_; 57 base::ScopedFD fd_;
56 void* mmap_address_; 58 void* mmap_address_;
57 59
58 DISALLOW_COPY_AND_ASSIGN(Driver); 60 DISALLOW_COPY_AND_ASSIGN(Driver);
59 }; 61 };
60 62
61 } // namespace binder 63 } // namespace binder
62 64
63 #endif // CHROMEOS_BINDER_DRIVER_H_ 65 #endif // CHROMEOS_BINDER_DRIVER_H_
OLDNEW
« no previous file with comments | « chromeos/binder/constants.h ('k') | chromeos/binder/driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698