| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_VLOG_H_ | 5 #ifndef BASE_VLOG_H_ |
| 6 #define BASE_VLOG_H_ | 6 #define BASE_VLOG_H_ |
| 7 | 7 |
| 8 #include <cstddef> | |
| 9 #include <string> | 8 #include <string> |
| 10 #include <vector> | 9 #include <vector> |
| 11 | 10 |
| 12 #include "base/base_export.h" | 11 #include "base/base_export.h" |
| 13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 14 #include "base/strings/string_piece.h" | 13 #include "base/strings/string_piece.h" |
| 15 | 14 |
| 16 namespace logging { | 15 namespace logging { |
| 17 | 16 |
| 18 // A helper class containing all the settings for vlogging. | 17 // A helper class containing all the settings for vlogging. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 // "kh?n" matches "khan" but not "khn" or "khaan" | 68 // "kh?n" matches "khan" but not "khn" or "khaan" |
| 70 // "kh*n" matches "khn", "khan", or even "khaaaaan" | 69 // "kh*n" matches "khn", "khan", or even "khaaaaan" |
| 71 // "/foo\bar" matches "/foo/bar", "\foo\bar", or "/foo\bar" | 70 // "/foo\bar" matches "/foo/bar", "\foo\bar", or "/foo\bar" |
| 72 // (disregarding C escaping rules) | 71 // (disregarding C escaping rules) |
| 73 BASE_EXPORT bool MatchVlogPattern(const base::StringPiece& string, | 72 BASE_EXPORT bool MatchVlogPattern(const base::StringPiece& string, |
| 74 const base::StringPiece& vlog_pattern); | 73 const base::StringPiece& vlog_pattern); |
| 75 | 74 |
| 76 } // namespace logging | 75 } // namespace logging |
| 77 | 76 |
| 78 #endif // BASE_VLOG_H_ | 77 #endif // BASE_VLOG_H_ |
| OLD | NEW |