Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(893)

Unified Diff: base/path_service.cc

Issue 8895023: Options2: Pull the trigger. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DIAF. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/options2/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/path_service.cc
diff --git a/base/path_service.cc b/base/path_service.cc
index 256318c8ac5d3dca43dc2d720b80c6f929394a80..47278c39dff2cba0a99f8b7c47781d3489fdadbb 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;
« no previous file with comments | « no previous file | chrome/browser/resources/options2/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698