summaryrefslogtreecommitdiffstats
path: root/chrome/browser/hang_monitor
diff options
context:
space:
mode:
authordpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-15 20:07:08 +0000
committerdpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-15 20:07:08 +0000
commit785c9672b5f4e423487147904930110dae0049d9 (patch)
treec4fef8478f128c7a6aa3d49db9e8d6eb50432bbc /chrome/browser/hang_monitor
parent6bff761d7589fc7b638de6f1ce684f559711316b (diff)
downloadchromium_src-785c9672b5f4e423487147904930110dae0049d9.zip
chromium_src-785c9672b5f4e423487147904930110dae0049d9.tar.gz
chromium_src-785c9672b5f4e423487147904930110dae0049d9.tar.bz2
This change will split the result codes between content and chrome.
This adds a new file into chrome/common and does a lot of renaming. The current version is just a sketch of the headers, and nothing will compile. R=jam@chromium.org BUG=76699 TEST=everything still compiles and runs Review URL: http://codereview.chromium.org/7377010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92730 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/hang_monitor')
-rw-r--r--chrome/browser/hang_monitor/hung_window_detector.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/hang_monitor/hung_window_detector.cc b/chrome/browser/hang_monitor/hung_window_detector.cc
index 39bedc6..035f270 100644
--- a/chrome/browser/hang_monitor/hung_window_detector.cc
+++ b/chrome/browser/hang_monitor/hung_window_detector.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -148,7 +148,7 @@ bool HungWindowDetector::CheckChildWindow(HWND child_window) {
if (process_id_check != child_window_process_id) {
break;
}
- TerminateProcess(child_process, ResultCodes::HUNG);
+ TerminateProcess(child_process, content::RESULT_CODE_HUNG);
WaitForSingleObject(child_process, kTerminateTimeout);
child_process.Close();
break;