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

Unified Diff: chrome/test/base/ui_test_utils.h

Issue 8633004: Stop WebSocker server processes certainly (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add Win32 impl. Created 9 years, 1 month 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/test/base/ui_test_utils.cc » ('j') | chrome/test/base/ui_test_utils.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/ui_test_utils.h
diff --git a/chrome/test/base/ui_test_utils.h b/chrome/test/base/ui_test_utils.h
index 9c5b0bec1fc83fa7fe2f86a08cc437efb66d8308..2962cfdcd27f907f7c5950905ea7bde7f86c00a7 100644
--- a/chrome/test/base/ui_test_utils.h
+++ b/chrome/test/base/ui_test_utils.h
@@ -27,6 +27,10 @@
#include "ui/gfx/native_widget_types.h"
#include "webkit/glue/window_open_disposition.h"
+#if defined(OS_WIN)
+#include "base/win/scoped_handle.h"
+#endif
+
class AppModalDialog;
class BookmarkModel;
class Browser;
@@ -331,6 +335,11 @@ class TestWebSocketServer {
// scope.
FilePath websocket_pid_file_;
+#if defined(OS_WIN)
+ // JobObject used to clean up orphaned child process.
+ base::win::ScopedHandle job_handle_;
+#endif
+
DISALLOW_COPY_AND_ASSIGN(TestWebSocketServer);
};
« no previous file with comments | « no previous file | chrome/test/base/ui_test_utils.cc » ('j') | chrome/test/base/ui_test_utils.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698