summaryrefslogtreecommitdiffstats
path: root/base/string_util.h
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-29 19:26:36 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-29 19:26:36 +0000
commit99b7c57fda118a1507d30b59e29005fdd2a73f7c (patch)
treef6d93b1690eb4395d1edb7c6c24f32d093421f92 /base/string_util.h
parentcca1256e67bcdc4b1ce6be8cd4494b3cffa60198 (diff)
downloadchromium_src-99b7c57fda118a1507d30b59e29005fdd2a73f7c.zip
chromium_src-99b7c57fda118a1507d30b59e29005fdd2a73f7c.tar.gz
chromium_src-99b7c57fda118a1507d30b59e29005fdd2a73f7c.tar.bz2
Implemented VLOG() et al.
Implemented VLOG(), VLOG_IF(), VLOG_IS_ON(). Added --v and --vmodule switches. Changed some spammy sync-related logs to use VLOG. BUG=56965 TEST=New unittests Review URL: http://codereview.chromium.org/3448028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60976 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/string_util.h')
-rw-r--r--base/string_util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/string_util.h b/base/string_util.h
index 0b57b78..7079127 100644
--- a/base/string_util.h
+++ b/base/string_util.h
@@ -558,7 +558,8 @@ bool ElideString(const std::wstring& input, int max_len, std::wstring* output);
// string can contain wildcards like * and ?
// The backslash character (\) is an escape character for * and ?
// We limit the patterns to having a max of 16 * or ? characters.
-bool MatchPattern(const std::string& string, const std::string& pattern);
+bool MatchPattern(const base::StringPiece& string,
+ const base::StringPiece& pattern);
bool MatchPattern(const string16& string, const string16& pattern);
// Hack to convert any char-like type to its unsigned counterpart.