Chromium Code Reviews| Index: content/common/sandbox_mac.h |
| diff --git a/content/common/sandbox_mac.h b/content/common/sandbox_mac.h |
| index a15440e9a347d6f11bf5c5745d73963f036109d4..873569437813a000ae6290f3badc8ab9a6688c33 100644 |
| --- a/content/common/sandbox_mac.h |
| +++ b/content/common/sandbox_mac.h |
| @@ -48,21 +48,6 @@ class CONTENT_EXPORT Sandbox { |
| // Returns: true on success, false otherwise. |
| static bool QuotePlainString(const std::string& src_utf8, std::string* dst); |
| - // Escape |str_utf8| for use in a regex literal in a sandbox |
| - // configuraton file. On return |dst| is set to the utf-8 encoded quoted |
| - // output. |
| - // |
| - // The implementation of this function is based on empirical testing of the |
| - // OS X sandbox on 10.5.8 & 10.6.2 which is undocumented and subject to |
| - // change. |
| - // |
| - // Note: If str_utf8 contains any characters < 32 || >125 then the function |
| - // fails and false is returned. |
| - // |
| - // Returns: true on success, false otherwise. |
| - static bool QuoteStringForRegex(const std::string& str_utf8, |
| - std::string* dst); |
|
Robert Sesek
2017/06/02 18:04:44
Though it looks like you need to remove the unitte
|
| - |
| private: |
| // Convert provided path into a "canonical" path matching what the Sandbox |
| // expects i.e. one without symlinks. |