| 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_VISIBILITY_H_ | 5 #ifndef TOOLS_GN_VISIBILITY_H_ |
| 6 #define TOOLS_GN_VISIBILITY_H_ | 6 #define TOOLS_GN_VISIBILITY_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
| 11 #include "base/strings/string_piece.h" | |
| 12 #include "tools/gn/label_pattern.h" | 11 #include "tools/gn/label_pattern.h" |
| 13 #include "tools/gn/source_dir.h" | 12 #include "tools/gn/source_dir.h" |
| 14 | 13 |
| 15 class Err; | 14 class Err; |
| 16 class Item; | 15 class Item; |
| 17 class Label; | 16 class Label; |
| 18 class Scope; | 17 class Scope; |
| 19 class Value; | 18 class Value; |
| 20 | 19 |
| 21 class Visibility { | 20 class Visibility { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 52 // in the current scope. | 51 // in the current scope. |
| 53 static bool FillItemVisibility(Item* item, Scope* scope, Err* err); | 52 static bool FillItemVisibility(Item* item, Scope* scope, Err* err); |
| 54 | 53 |
| 55 private: | 54 private: |
| 56 std::vector<LabelPattern> patterns_; | 55 std::vector<LabelPattern> patterns_; |
| 57 | 56 |
| 58 DISALLOW_COPY_AND_ASSIGN(Visibility); | 57 DISALLOW_COPY_AND_ASSIGN(Visibility); |
| 59 }; | 58 }; |
| 60 | 59 |
| 61 #endif // TOOLS_GN_VISIBILITY_H_ | 60 #endif // TOOLS_GN_VISIBILITY_H_ |
| OLD | NEW |