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

Side by Side Diff: tools/gn/label.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, 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 | « tools/gn/input_conversion.cc ('k') | tools/gn/label.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_LABEL_H_ 5 #ifndef TOOLS_GN_LABEL_H_
6 #define TOOLS_GN_LABEL_H_ 6 #define TOOLS_GN_LABEL_H_
7 7
8 #include <stddef.h>
9
8 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
9 #include "tools/gn/source_dir.h" 11 #include "tools/gn/source_dir.h"
10 12
11 class Err; 13 class Err;
12 class Value; 14 class Value;
13 15
14 // A label represents the name of a target or some other named thing in 16 // A label represents the name of a target or some other named thing in
15 // the source path. The label is always absolute and always includes a name 17 // the source path. The label is always absolute and always includes a name
16 // part, so it starts with a slash, and has one colon. 18 // part, so it starts with a slash, and has one colon.
17 class Label { 19 class Label {
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 } 116 }
115 }; 117 };
116 118
117 } // namespace BASE_HASH_NAMESPACE 119 } // namespace BASE_HASH_NAMESPACE
118 120
119 inline void swap(Label& lhs, Label& rhs) { 121 inline void swap(Label& lhs, Label& rhs) {
120 lhs.swap(rhs); 122 lhs.swap(rhs);
121 } 123 }
122 124
123 #endif // TOOLS_GN_LABEL_H_ 125 #endif // TOOLS_GN_LABEL_H_
OLDNEW
« no previous file with comments | « tools/gn/input_conversion.cc ('k') | tools/gn/label.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698