summaryrefslogtreecommitdiffstats
path: root/base/debug_util_posix.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-10 21:08:39 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-10 21:08:39 +0000
commit8a16266e66a38bc1bfc6b00893c2a7c8cf8c55ee (patch)
tree5c07a9d5091a56c6d5a1a2b98ec10d19ae3c20e9 /base/debug_util_posix.cc
parentf8dce00e633d5ffde45e008fb8f51d5a76942f6b (diff)
downloadchromium_src-8a16266e66a38bc1bfc6b00893c2a7c8cf8c55ee.zip
chromium_src-8a16266e66a38bc1bfc6b00893c2a7c8cf8c55ee.tar.gz
chromium_src-8a16266e66a38bc1bfc6b00893c2a7c8cf8c55ee.tar.bz2
Move StringPiece into the base namespace. It is colliding
with the StringPiece class in icu4.2, which is a problem when trying to use the system version of icu. Review URL: http://codereview.chromium.org/193072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25920 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/debug_util_posix.cc')
-rw-r--r--base/debug_util_posix.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/debug_util_posix.cc b/base/debug_util_posix.cc
index dd22710..081f4c4 100644
--- a/base/debug_util_posix.cc
+++ b/base/debug_util_posix.cc
@@ -92,11 +92,11 @@ bool DebugUtil::BeingDebugged() {
if (num_read <= 0)
return false;
- StringPiece status(buf, num_read);
- StringPiece tracer("TracerPid:\t");
+ base::StringPiece status(buf, num_read);
+ base::StringPiece tracer("TracerPid:\t");
- StringPiece::size_type pid_index = status.find(tracer);
- if (pid_index == StringPiece::npos)
+ base::StringPiece::size_type pid_index = status.find(tracer);
+ if (pid_index == base::StringPiece::npos)
return false;
// Our pid is 0 without a debugger, assume this for any pid starting with 0.