diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 03:25:15 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 03:25:15 +0000 |
commit | 176aa48371da91eb98d675d87b4e70c7b26d696f (patch) | |
tree | 4c972de6ecd5a54650ab1dc7d421187f5d25834f /chrome/app | |
parent | 9a3f0ac2899139ace97e399015259d028b4d5704 (diff) | |
download | chromium_src-176aa48371da91eb98d675d87b4e70c7b26d696f.zip chromium_src-176aa48371da91eb98d675d87b4e70c7b26d696f.tar.gz chromium_src-176aa48371da91eb98d675d87b4e70c7b26d696f.tar.bz2 |
Add Terminate() to the Process object, have RenderProcessHost use this to avoid some more Windows specific code.
Move Process and SharedMemory into the base namespace (most changes).
Review URL: http://codereview.chromium.org/10895
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5446 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/chrome_exe_main.cc | 2 | ||||
-rw-r--r-- | chrome/app/result_codes.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/chrome/app/chrome_exe_main.cc b/chrome/app/chrome_exe_main.cc index a8529e6..85a3462 100644 --- a/chrome/app/chrome_exe_main.cc +++ b/chrome/app/chrome_exe_main.cc @@ -21,7 +21,7 @@ int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE prev_instance, wchar_t* command_line, int) { - process_util::EnableTerminationOnHeapCorruption(); + base::EnableTerminationOnHeapCorruption(); // The exit manager is in charge of calling the dtors of singletons. base::AtExitManager exit_manager; diff --git a/chrome/app/result_codes.h b/chrome/app/result_codes.h index 4acad55..950863e 100644 --- a/chrome/app/result_codes.h +++ b/chrome/app/result_codes.h @@ -20,9 +20,9 @@ class ResultCodes { public: enum ExitCode { - NORMAL_EXIT = process_util::PROCESS_END_NORMAL_TERMINATON, - TASKMAN_KILL = process_util::PROCESS_END_KILLED_BY_USER, - HUNG = process_util::PROCESS_END_PROCESS_WAS_HUNG, + NORMAL_EXIT = base::PROCESS_END_NORMAL_TERMINATON, + 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. SBOX_INIT_FAILED, // The sandbox could not be initialized. GOOGLE_UPDATE_INIT_FAILED, // The Google Update client stub init failed. |