summaryrefslogtreecommitdiffstats
path: root/base/logging.cc
diff options
context:
space:
mode:
authordeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-19 13:19:24 +0000
committerdeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-19 13:19:24 +0000
commit4bdaceb429c7cd6a3a2a8bc692f418969c24ff28 (patch)
treee399572c17bb4ed5de86bd702ea28a041e40b9b0 /base/logging.cc
parent1e3f8396c6f205b2be2a102d4fbca870638e7f6b (diff)
downloadchromium_src-4bdaceb429c7cd6a3a2a8bc692f418969c24ff28.zip
chromium_src-4bdaceb429c7cd6a3a2a8bc692f418969c24ff28.tar.gz
chromium_src-4bdaceb429c7cd6a3a2a8bc692f418969c24ff28.tar.bz2
Move the system string conversion functions from std::string to StringPiece. We often work with char* in the system layer, so this should save extra copying.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1027 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/logging.cc')
-rw-r--r--base/logging.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/logging.cc b/base/logging.cc
index 87ac934..27781ae0 100644
--- a/base/logging.cc
+++ b/base/logging.cc
@@ -62,6 +62,7 @@ typedef pthread_mutex_t* MutexHandle;
#include "base/debug_util.h"
#include "base/lock_impl.h"
#include "base/logging.h"
+#include "base/string_piece.h"
#include "base/string_util.h"
#include "base/sys_string_conversions.h"