| Index: tools/gn/visibility.h
|
| diff --git a/tools/gn/visibility.h b/tools/gn/visibility.h
|
| index 52ec73ca15915811980d464f7d228c57dc671a6e..7ce2b7845f702b46f0a20db9252959abbd0de918 100644
|
| --- a/tools/gn/visibility.h
|
| +++ b/tools/gn/visibility.h
|
| @@ -68,8 +68,11 @@ class Visibility {
|
| // current visibility.
|
| bool CanSeeMe(const Label& label) const;
|
|
|
| - // Returns a string listing the visibility.
|
| - std::string Describe() const;
|
| + // Returns a string listing the visibility. |indent| number of spaces will
|
| + // be added on the left side of the output. If |include_brackets| is set, the
|
| + // result will be wrapped in "[ ]" and the contents further indented. The
|
| + // result will end in a newline.
|
| + std::string Describe(int indent, bool include_brackets) const;
|
|
|
| // Converts the given input string to a pattern. This does special stuff
|
| // to treat the pattern as a label. Sets the error on failure.
|
|
|