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

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

Issue 1280123005: tools/gn: Remove includes of basictypes.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months 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
« tools/gn/args.h ('K') | « tools/gn/value.cc ('k') | no next file » | 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_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
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_
OLDNEW
« tools/gn/args.h ('K') | « tools/gn/value.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698