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

Side by Side Diff: chromeos/binder/buffer_reader.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
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_BUFFER_READER_H_ 5 #ifndef CHROMEOS_BINDER_BUFFER_READER_H_
6 #define CHROMEOS_BINDER_BUFFER_READER_H_ 6 #define CHROMEOS_BINDER_BUFFER_READER_H_
7 7
8 #include <stddef.h>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "chromeos/chromeos_export.h" 11 #include "chromeos/chromeos_export.h"
10 12
11 namespace binder { 13 namespace binder {
12 14
13 // BufferReader reads data from the given buffer. 15 // BufferReader reads data from the given buffer.
14 class CHROMEOS_EXPORT BufferReader { 16 class CHROMEOS_EXPORT BufferReader {
15 public: 17 public:
16 BufferReader(const char* data, size_t size); 18 BufferReader(const char* data, size_t size);
17 ~BufferReader(); 19 ~BufferReader();
(...skipping 16 matching lines...) Expand all
34 const char* data_; 36 const char* data_;
35 size_t size_; 37 size_t size_;
36 size_t position_; 38 size_t position_;
37 39
38 DISALLOW_COPY_AND_ASSIGN(BufferReader); 40 DISALLOW_COPY_AND_ASSIGN(BufferReader);
39 }; 41 };
40 42
41 } // namespace binder 43 } // namespace binder
42 44
43 #endif // CHROMEOS_BINDER_BUFFER_READER_H_ 45 #endif // CHROMEOS_BINDER_BUFFER_READER_H_
OLDNEW
« no previous file with comments | « chromeos/audio/cras_audio_handler_unittest.cc ('k') | chromeos/binder/buffer_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698