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_TEMPLATE_H_ | 5 #ifndef TOOLS_GN_TEMPLATE_H_ |
6 #define TOOLS_GN_TEMPLATE_H_ | 6 #define TOOLS_GN_TEMPLATE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 | 12 |
14 class BlockNode; | 13 class BlockNode; |
15 class Err; | 14 class Err; |
16 class FunctionCallNode; | 15 class FunctionCallNode; |
17 class LocationRange; | 16 class LocationRange; |
18 class Scope; | 17 class Scope; |
19 class Value; | 18 class Value; |
20 | 19 |
(...skipping 27 matching lines...) Expand all Loading... |
48 friend class base::RefCountedThreadSafe<Template>; | 47 friend class base::RefCountedThreadSafe<Template>; |
49 | 48 |
50 Template(); | 49 Template(); |
51 ~Template(); | 50 ~Template(); |
52 | 51 |
53 scoped_ptr<Scope> closure_; | 52 scoped_ptr<Scope> closure_; |
54 const FunctionCallNode* definition_; | 53 const FunctionCallNode* definition_; |
55 }; | 54 }; |
56 | 55 |
57 #endif // TOOLS_GN_TEMPLATE_H_ | 56 #endif // TOOLS_GN_TEMPLATE_H_ |
OLD | NEW |