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

Side by Side Diff: tools/gn/tokenizer.h

Issue 1549203002: Switch to standard integer types in tools/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « tools/gn/target_generator.cc ('k') | tools/gn/tokenizer_unittest.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 TOOLS_GN_TOKENIZER_H_ 5 #ifndef TOOLS_GN_TOKENIZER_H_
6 #define TOOLS_GN_TOKENIZER_H_ 6 #define TOOLS_GN_TOKENIZER_H_
7 7
8 #include <stddef.h>
9
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/macros.h" 12 #include "base/macros.h"
11 #include "base/strings/string_piece.h" 13 #include "base/strings/string_piece.h"
12 #include "tools/gn/err.h" 14 #include "tools/gn/err.h"
13 #include "tools/gn/token.h" 15 #include "tools/gn/token.h"
14 16
15 class InputFile; 17 class InputFile;
16 18
17 class Tokenizer { 19 class Tokenizer {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 Err* err_; 81 Err* err_;
80 size_t cur_; // Byte offset into input buffer. 82 size_t cur_; // Byte offset into input buffer.
81 83
82 int line_number_; 84 int line_number_;
83 int char_in_line_; 85 int char_in_line_;
84 86
85 DISALLOW_COPY_AND_ASSIGN(Tokenizer); 87 DISALLOW_COPY_AND_ASSIGN(Tokenizer);
86 }; 88 };
87 89
88 #endif // TOOLS_GN_TOKENIZER_H_ 90 #endif // TOOLS_GN_TOKENIZER_H_
OLDNEW
« no previous file with comments | « tools/gn/target_generator.cc ('k') | tools/gn/tokenizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698