| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_HEADER_CHECKER_H_ | 5 #ifndef TOOLS_GN_HEADER_CHECKER_H_ |
| 6 #define TOOLS_GN_HEADER_CHECKER_H_ | 6 #define TOOLS_GN_HEADER_CHECKER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | |
| 13 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/macros.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
| 16 #include "base/strings/string_piece.h" | 16 #include "base/strings/string_piece.h" |
| 17 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
| 18 #include "tools/gn/err.h" | 18 #include "tools/gn/err.h" |
| 19 | 19 |
| 20 class BuildSettings; | 20 class BuildSettings; |
| 21 class InputFile; | 21 class InputFile; |
| 22 class Label; | 22 class Label; |
| 23 class LocationRange; | 23 class LocationRange; |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 // These are mutable during runtime and require locking. | 174 // These are mutable during runtime and require locking. |
| 175 | 175 |
| 176 base::Lock lock_; | 176 base::Lock lock_; |
| 177 | 177 |
| 178 std::vector<Err> errors_; | 178 std::vector<Err> errors_; |
| 179 | 179 |
| 180 DISALLOW_COPY_AND_ASSIGN(HeaderChecker); | 180 DISALLOW_COPY_AND_ASSIGN(HeaderChecker); |
| 181 }; | 181 }; |
| 182 | 182 |
| 183 #endif // TOOLS_GN_HEADER_CHECKER_H_ | 183 #endif // TOOLS_GN_HEADER_CHECKER_H_ |
| OLD | NEW |