Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(860)

Unified Diff: base/debug_util_posix.cc

Issue 193072: Move StringPiece into the base namespace. It is colliding (Closed)
Patch Set: take 2 Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/data_pack_unittest.cc ('k') | base/file_path.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug_util_posix.cc
diff --git a/base/debug_util_posix.cc b/base/debug_util_posix.cc
index dd227100c1f1dab4b7bb8f62482d73bc18cd0731..081f4c480228215bc4e498909f7247228b0390c8 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.
« no previous file with comments | « base/data_pack_unittest.cc ('k') | base/file_path.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698