summaryrefslogtreecommitdiffstats
path: root/base/shared_memory_posix.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-17 23:05:28 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-17 23:05:28 +0000
commitf16339329dd06c7bc6fa409af73907253efad8dc (patch)
tree8303b6a935379ac9a68379f5fd896a6e84d7e5ea /base/shared_memory_posix.cc
parent681d27566707595006c468b17c27f8341d176b45 (diff)
downloadchromium_src-f16339329dd06c7bc6fa409af73907253efad8dc.zip
chromium_src-f16339329dd06c7bc6fa409af73907253efad8dc.tar.gz
chromium_src-f16339329dd06c7bc6fa409af73907253efad8dc.tar.bz2
Header cleanup in base.
This makes uses of StringPrintf and friends use the base namespace and include stringprintf.h explicitly. This also removes a bunch of unnecessary string_util includes (which exposed a few other errors like people forgetting to include <vector>. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3119022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56446 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/shared_memory_posix.cc')
-rw-r--r--base/shared_memory_posix.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/shared_memory_posix.cc b/base/shared_memory_posix.cc
index 009f91e..2dae8af 100644
--- a/base/shared_memory_posix.cc
+++ b/base/shared_memory_posix.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -14,7 +14,7 @@
#include "base/logging.h"
#include "base/platform_thread.h"
#include "base/safe_strerror_posix.h"
-#include "base/string_util.h"
+#include "base/utf_string_conversions.h"
namespace base {
@@ -133,7 +133,7 @@ bool SharedMemory::FilePathForMemoryName(const std::wstring& memname,
return false;
*path = temp_dir.AppendASCII("com.google.chrome.shmem." +
- WideToASCII(memname));
+ WideToUTF8(memname));
return true;
}