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

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

Issue 2554863002: Cleanup remaining class/struct fwd declarations (Closed)
Patch Set: Style fixes Created 4 years 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/functions.h ('k') | tools/gn/ninja_build_writer.h » ('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 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/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/macros.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;
23 class LocationRange; 22 class LocationRange;
24 class SourceFile; 23 class SourceFile;
25 class Target; 24 class Target;
26 25
27 namespace base { 26 namespace base {
28 class MessageLoop; 27 class MessageLoop;
29 } 28 }
30 29
31 class HeaderChecker : public base::RefCountedThreadSafe<HeaderChecker> { 30 class HeaderChecker : public base::RefCountedThreadSafe<HeaderChecker> {
32 public: 31 public:
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 // These are mutable during runtime and require locking. 173 // These are mutable during runtime and require locking.
175 174
176 base::Lock lock_; 175 base::Lock lock_;
177 176
178 std::vector<Err> errors_; 177 std::vector<Err> errors_;
179 178
180 DISALLOW_COPY_AND_ASSIGN(HeaderChecker); 179 DISALLOW_COPY_AND_ASSIGN(HeaderChecker);
181 }; 180 };
182 181
183 #endif // TOOLS_GN_HEADER_CHECKER_H_ 182 #endif // TOOLS_GN_HEADER_CHECKER_H_
OLDNEW
« no previous file with comments | « tools/gn/functions.h ('k') | tools/gn/ninja_build_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698