summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-08 19:52:21 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-08 19:52:21 +0000
commite68639f548016058b9be524057e15fa2b5118267 (patch)
tree6cee142bc4493b8c617c999ca81922cf07e02e41
parent020f49e7fa227ae8b7640d93729dfc7f3d16fdb9 (diff)
downloadchromium_src-e68639f548016058b9be524057e15fa2b5118267.zip
chromium_src-e68639f548016058b9be524057e15fa2b5118267.tar.gz
chromium_src-e68639f548016058b9be524057e15fa2b5118267.tar.bz2
Fix a typo.
BUG=none TEST=none Review URL: http://codereview.chromium.org/1604015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43993 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--base/process_util.h6
-rw-r--r--base/process_util_win.cc4
-rw-r--r--chrome/common/result_codes.h4
3 files changed, 7 insertions, 7 deletions
diff --git a/base/process_util.h b/base/process_util.h
index b9abef0..5df4fbd 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -73,9 +73,9 @@ struct IoCounters {
// Do not change the enumeration values or you will break third-party
// installers.
enum {
- PROCESS_END_NORMAL_TERMINATON = 0,
- PROCESS_END_KILLED_BY_USER = 1,
- PROCESS_END_PROCESS_WAS_HUNG = 2
+ PROCESS_END_NORMAL_TERMINATION = 0,
+ PROCESS_END_KILLED_BY_USER = 1,
+ PROCESS_END_PROCESS_WAS_HUNG = 2
};
// Returns the id of the current process.
diff --git a/base/process_util_win.cc b/base/process_util_win.cc
index b12f81e..3299f60 100644
--- a/base/process_util_win.cc
+++ b/base/process_util_win.cc
@@ -186,7 +186,7 @@ bool LaunchAppAsUser(UserTokenHandle token, const std::wstring& cmdline,
DWORD flags = CREATE_UNICODE_ENVIRONMENT;
void* enviroment_block = NULL;
- if(!CreateEnvironmentBlock(&enviroment_block, token, FALSE))
+ if (!CreateEnvironmentBlock(&enviroment_block, token, FALSE))
return false;
BOOL launched =
@@ -348,7 +348,7 @@ bool DidProcessCrash(bool* child_exited, ProcessHandle handle) {
// Warning, this is not generic code; it heavily depends on the way
// the rest of the code kills a process.
- if (exitcode == PROCESS_END_NORMAL_TERMINATON ||
+ if (exitcode == PROCESS_END_NORMAL_TERMINATION ||
exitcode == PROCESS_END_KILLED_BY_USER ||
exitcode == PROCESS_END_PROCESS_WAS_HUNG ||
exitcode == 0xC0000354 || // STATUS_DEBUGGER_INACTIVE.
diff --git a/chrome/common/result_codes.h b/chrome/common/result_codes.h
index 74b5d05..6ca19b8 100644
--- a/chrome/common/result_codes.h
+++ b/chrome/common/result_codes.h
@@ -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.
@@ -20,7 +20,7 @@
class ResultCodes {
public:
enum ExitCode {
- NORMAL_EXIT = base::PROCESS_END_NORMAL_TERMINATON,
+ NORMAL_EXIT = base::PROCESS_END_NORMAL_TERMINATION,
TASKMAN_KILL = base::PROCESS_END_KILLED_BY_USER,
HUNG = base::PROCESS_END_PROCESS_WAS_HUNG,
INVALID_CMDLINE_URL, // An invalid command line url was given.