summaryrefslogtreecommitdiffstats
path: root/base/path_service.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-13 18:36:05 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-13 18:36:05 +0000
commit8e1f93e8a83ba3a2d84f00a5d8026cd5ba494214 (patch)
tree3a1b4cece231496e197feb1419c3b886e5f412d1 /base/path_service.cc
parente867c1191a1b636d41ffb29bbf3317321576d9c0 (diff)
downloadchromium_src-8e1f93e8a83ba3a2d84f00a5d8026cd5ba494214.zip
chromium_src-8e1f93e8a83ba3a2d84f00a5d8026cd5ba494214.tar.gz
chromium_src-8e1f93e8a83ba3a2d84f00a5d8026cd5ba494214.tar.bz2
Options2: Pull the trigger.
BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8895023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114236 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/path_service.cc')
-rw-r--r--base/path_service.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/path_service.cc b/base/path_service.cc
index 256318c..47278c3 100644
--- a/base/path_service.cc
+++ b/base/path_service.cc
@@ -162,7 +162,7 @@ bool PathService::GetFromOverrides(int key, FilePath* result) {
PathData* path_data = GetPathData();
base::AutoLock scoped_lock(path_data->lock);
- // check for an overriden version.
+ // check for an overridden version.
PathMap::const_iterator it = path_data->overrides.find(key);
if (it != path_data->overrides.end()) {
*result = it->second;
@@ -230,13 +230,13 @@ bool PathService::Override(int key, const FilePath& path) {
// Make sure the directory exists. We need to do this before we translate
// this to the absolute path because on POSIX, AbsolutePath fails if called
- // on a non-existant path.
+ // on a non-existent path.
if (!file_util::PathExists(file_path) &&
!file_util::CreateDirectory(file_path))
return false;
// We need to have an absolute path, as extensions and plugins don't like
- // relative paths, and will glady crash the browser in CHECK()s if they get a
+ // relative paths, and will gladly crash the browser in CHECK()s if they get a
// relative path.
if (!file_util::AbsolutePath(&file_path))
return false;