| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * | 10 * |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 namespace ContentSearchUtils { | 41 namespace ContentSearchUtils { |
| 42 | 42 |
| 43 enum MagicCommentType { | 43 enum MagicCommentType { |
| 44 JavaScriptMagicComment, | 44 JavaScriptMagicComment, |
| 45 CSSMagicComment | 45 CSSMagicComment |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 PassOwnPtr<ScriptRegexp> createSearchRegex(const String& query, bool caseSensiti
ve, bool isRegex); | 48 PassOwnPtr<ScriptRegexp> createSearchRegex(const String& query, bool caseSensiti
ve, bool isRegex); |
| 49 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::SearchMatch>> searchInTextB
yLines(const String& text, const String& query, const bool caseSensitive, const
bool isRegex); | 49 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::SearchMatch>> searchInTextB
yLines(const String& text, const String& query, const bool caseSensitive, const
bool isRegex); |
| 50 | 50 |
| 51 String findSourceURL(const String& content, MagicCommentType, bool* deprecated =
nullptr); | 51 String findSourceURL(const String& content, MagicCommentType); |
| 52 String findSourceMapURL(const String& content, MagicCommentType, bool* deprecate
d = nullptr); | 52 String findSourceMapURL(const String& content, MagicCommentType); |
| 53 | 53 |
| 54 } // namespace ContentSearchUtils | 54 } // namespace ContentSearchUtils |
| 55 } // namespace blink | 55 } // namespace blink |
| 56 | 56 |
| 57 #endif // !defined(ContentSearchUtils_h) | 57 #endif // !defined(ContentSearchUtils_h) |
| OLD | NEW |