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

Side by Side Diff: tools/gn/builder.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/clang/blink_gc_plugin/CheckFieldsVisitor.h ('k') | tools/gn/config_values_generator.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 (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_BUILDER_H_ 5 #ifndef TOOLS_GN_BUILDER_H_
6 #define TOOLS_GN_BUILDER_H_ 6 #define TOOLS_GN_BUILDER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "tools/gn/builder_record.h" 12 #include "tools/gn/builder_record.h"
13 #include "tools/gn/label.h" 13 #include "tools/gn/label.h"
14 #include "tools/gn/label_ptr.h" 14 #include "tools/gn/label_ptr.h"
15 #include "tools/gn/unique_vector.h" 15 #include "tools/gn/unique_vector.h"
16 16
17 class Config;
18 class Err; 17 class Err;
19 class Loader; 18 class Loader;
20 class ParseNode; 19 class ParseNode;
21 20
22 // The builder assembles the dependency tree. It is not threadsafe and runs on 21 // The builder assembles the dependency tree. It is not threadsafe and runs on
23 // the main thread only. See also BuilderRecord. 22 // the main thread only. See also BuilderRecord.
24 class Builder { 23 class Builder {
25 public: 24 public:
26 typedef base::Callback<void(const BuilderRecord*)> ResolvedGeneratedCallback; 25 typedef base::Callback<void(const BuilderRecord*)> ResolvedGeneratedCallback;
27 26
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // Owning pointers. 132 // Owning pointers.
134 typedef std::map<Label, BuilderRecord*> RecordMap; 133 typedef std::map<Label, BuilderRecord*> RecordMap;
135 RecordMap records_; 134 RecordMap records_;
136 135
137 ResolvedGeneratedCallback resolved_and_generated_callback_; 136 ResolvedGeneratedCallback resolved_and_generated_callback_;
138 137
139 DISALLOW_COPY_AND_ASSIGN(Builder); 138 DISALLOW_COPY_AND_ASSIGN(Builder);
140 }; 139 };
141 140
142 #endif // TOOLS_GN_BUILDER_H_ 141 #endif // TOOLS_GN_BUILDER_H_
OLDNEW
« no previous file with comments | « tools/clang/blink_gc_plugin/CheckFieldsVisitor.h ('k') | tools/gn/config_values_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698