OLD | NEW |
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_SOURCE_FILE_H_ | 5 #ifndef TOOLS_GN_SOURCE_FILE_H_ |
6 #define TOOLS_GN_SOURCE_FILE_H_ | 6 #define TOOLS_GN_SOURCE_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/containers/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
12 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
13 #include "base/logging.h" | 15 #include "base/logging.h" |
14 #include "base/strings/string_piece.h" | 16 #include "base/strings/string_piece.h" |
15 | 17 |
16 class SourceDir; | 18 class SourceDir; |
17 | 19 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 } | 99 } |
98 }; | 100 }; |
99 | 101 |
100 } // namespace BASE_HASH_NAMESPACE | 102 } // namespace BASE_HASH_NAMESPACE |
101 | 103 |
102 inline void swap(SourceFile& lhs, SourceFile& rhs) { | 104 inline void swap(SourceFile& lhs, SourceFile& rhs) { |
103 lhs.swap(rhs); | 105 lhs.swap(rhs); |
104 } | 106 } |
105 | 107 |
106 #endif // TOOLS_GN_SOURCE_FILE_H_ | 108 #endif // TOOLS_GN_SOURCE_FILE_H_ |
OLD | NEW |