summaryrefslogtreecommitdiffstats
path: root/base/file_util_posix.cc
diff options
context:
space:
mode:
authorskerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 15:33:28 +0000
committerskerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 15:33:28 +0000
commitbd781d897ea507f9abc028462d04224ca273875a (patch)
treebf14c6237ec30d3e1815e3978807d1943ad22f9f /base/file_util_posix.cc
parent5021691cce9e56fe0bb778df3ad92e41c55c6ed0 (diff)
downloadchromium_src-bd781d897ea507f9abc028462d04224ca273875a.zip
chromium_src-bd781d897ea507f9abc028462d04224ca273875a.tar.gz
chromium_src-bd781d897ea507f9abc028462d04224ca273875a.tar.bz2
Remove some debug switches:
--issue35198-crxdir-browser --issue35198-permission They were used to understand issue 35198. They are no longer needed. There is one more switch, --issue35198-logging, that is not being removed in this CL. The logging it adds may still be useful. BUG=50604 TEST=manual Review URL: http://codereview.chromium.org/3052023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54323 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util_posix.cc')
-rw-r--r--base/file_util_posix.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/base/file_util_posix.cc b/base/file_util_posix.cc
index 4d9cf42..13798d3 100644
--- a/base/file_util_posix.cc
+++ b/base/file_util_posix.cc
@@ -430,15 +430,7 @@ static bool CreateTemporaryDirInDirImpl(const FilePath& base_dir,
bool CreateTemporaryDirInDir(const FilePath& base_dir,
const FilePath::StringType& prefix,
- bool loosen_permissions,
FilePath* new_dir) {
- // To understand crbug/35198, the ability to call this
- // this function on windows while giving loose permissions
- // to the resulting directory has been temporarily added.
- // It should not be possible to call this function with
- // loosen_permissions == true on non-windows platforms.
- DCHECK(!loosen_permissions);
-
FilePath::StringType mkdtemp_template = prefix;
mkdtemp_template.append(FILE_PATH_LITERAL("XXXXXX"));
return CreateTemporaryDirInDirImpl(base_dir, mkdtemp_template, new_dir);