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

Side by Side Diff: tools/gn/lib_file.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/label_unittest.cc ('k') | tools/gn/ninja_action_target_writer.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 TOOLS_GN_LIB_FILE_H_ 5 #ifndef TOOLS_GN_LIB_FILE_H_
6 #define TOOLS_GN_LIB_FILE_H_ 6 #define TOOLS_GN_LIB_FILE_H_
7 7
8 #include <stddef.h>
9
8 #include <algorithm> 10 #include <algorithm>
9 #include <string> 11 #include <string>
10 12
11 #include "base/strings/string_piece.h" 13 #include "base/strings/string_piece.h"
12 #include "tools/gn/source_file.h" 14 #include "tools/gn/source_file.h"
13 15
14 // Represents an entry in "libs" list. Can be either a path (a SourceFile) or 16 // Represents an entry in "libs" list. Can be either a path (a SourceFile) or
15 // a library name (a string). 17 // a library name (a string).
16 class LibFile { 18 class LibFile {
17 public: 19 public:
(...skipping 29 matching lines...) Expand all
47 } 49 }
48 }; 50 };
49 51
50 } // namespace BASE_HASH_NAMESPACE 52 } // namespace BASE_HASH_NAMESPACE
51 53
52 inline void swap(LibFile& lhs, LibFile& rhs) { 54 inline void swap(LibFile& lhs, LibFile& rhs) {
53 lhs.Swap(&rhs); 55 lhs.Swap(&rhs);
54 } 56 }
55 57
56 #endif // TOOLS_GN_LIB_FILE_H_ 58 #endif // TOOLS_GN_LIB_FILE_H_
OLDNEW
« no previous file with comments | « tools/gn/label_unittest.cc ('k') | tools/gn/ninja_action_target_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698