summaryrefslogtreecommitdiffstats
path: root/base/file_util_posix.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-17 19:17:43 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-17 19:17:43 +0000
commit22a087f38a3932ffab4c0986d85832603d0d3eda (patch)
treef5959b98205bf10638ee1f23522d62731a33038c /base/file_util_posix.cc
parent8fe5764ce4b305b913f3085a028a7d10be8df16a (diff)
downloadchromium_src-22a087f38a3932ffab4c0986d85832603d0d3eda.zip
chromium_src-22a087f38a3932ffab4c0986d85832603d0d3eda.tar.gz
chromium_src-22a087f38a3932ffab4c0986d85832603d0d3eda.tar.bz2
Use "org.chromium" in place of "com.google.chrome" in posix temporary file names for non-chrome builds.
Review URL: http://codereview.chromium.org/46087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11897 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util_posix.cc')
-rw-r--r--base/file_util_posix.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/file_util_posix.cc b/base/file_util_posix.cc
index 235e6c0..ad3fc581 100644
--- a/base/file_util_posix.cc
+++ b/base/file_util_posix.cc
@@ -25,7 +25,11 @@
namespace file_util {
+#if defined(GOOGLE_CHROME_BUILD)
static const char* kTempFileName = "com.google.chrome.XXXXXX";
+#else
+static const char* kTempFileName = "org.chromium.XXXXXX";
+#endif
std::wstring GetDirectoryFromPath(const std::wstring& path) {
if (EndsWithSeparator(path)) {