| OLD | NEW |
| 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 BASE_TEST_EXPECTATIONS_PARSER_H_ | 5 #ifndef BASE_TEST_EXPECTATIONS_PARSER_H_ |
| 6 #define BASE_TEST_EXPECTATIONS_PARSER_H_ | 6 #define BASE_TEST_EXPECTATIONS_PARSER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/string_piece.h" | 11 #include "base/strings/string_piece.h" |
| 12 #include "base/test/expectations/expectation.h" | 12 #include "base/test/expectations/expectation.h" |
| 13 | 13 |
| 14 namespace test_expectations { | 14 namespace test_expectations { |
| 15 | 15 |
| 16 // This is the internal parser for test expectations. It parses an input | 16 // This is the internal parser for test expectations. It parses an input |
| 17 // string and reports information to its Delegate as it's processing the | 17 // string and reports information to its Delegate as it's processing the |
| 18 // input. | 18 // input. |
| 19 // | 19 // |
| 20 // The input format is documented here: | 20 // The input format is documented here: |
| 21 // https://docs.google.com/a/chromium.org/document/d/1edhMJ5doY_dzfbKNCzeJJ-8XxP
rexTbNL2Y_jVvLB8Q/view | 21 // https://docs.google.com/a/chromium.org/document/d/1edhMJ5doY_dzfbKNCzeJJ-8XxP
rexTbNL2Y_jVvLB8Q/view |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 Expectation current_; | 134 Expectation current_; |
| 135 | 135 |
| 136 // If DataError() has been called during the course of parsing |current_|. | 136 // If DataError() has been called during the course of parsing |current_|. |
| 137 // If true, then |current_| will not be emitted to the Delegate. | 137 // If true, then |current_| will not be emitted to the Delegate. |
| 138 bool data_error_; | 138 bool data_error_; |
| 139 }; | 139 }; |
| 140 | 140 |
| 141 } // namespace test_expectations | 141 } // namespace test_expectations |
| 142 | 142 |
| 143 #endif // BASE_TEST_EXPECTATIONS_PARSER_H_ | 143 #endif // BASE_TEST_EXPECTATIONS_PARSER_H_ |
| OLD | NEW |