Chromium Code Reviews| Index: base/string_util.h |
| =================================================================== |
| --- base/string_util.h (revision 84514) |
| +++ base/string_util.h (working copy) |
| @@ -529,6 +529,10 @@ |
| const string16& a, |
| size_t* offset); |
| +// Strips any leading javascript schemas from a string. |
|
Peter Kasting
2011/05/10 23:27:42
This does not belong in base/; it is not generic e
Cris Neckar
2011/05/11 21:42:36
Done.
|
| +// Returns true if the output string differs from the input. |
| +BASE_API bool StripJavascriptSchema(const string16&, string16*); |
| + |
| // Returns true if the string passed in matches the pattern. The pattern |
| // string can contain wildcards like * and ? |
| // The backslash character (\) is an escape character for * and ? |