| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_TEST_UI_UI_TEST_SUITE_H_ | |
| 6 #define CHROME_TEST_UI_UI_TEST_SUITE_H_ | |
| 7 | |
| 8 #include "base/process/process.h" | |
| 9 #include "chrome/test/base/chrome_test_suite.h" | |
| 10 | |
| 11 #if defined(OS_WIN) | |
| 12 #include "base/win/scoped_handle.h" | |
| 13 #endif | |
| 14 | |
| 15 class UITestSuite : public ChromeTestSuite { | |
| 16 public: | |
| 17 UITestSuite(int argc, char** argv); | |
| 18 | |
| 19 protected: | |
| 20 virtual void Initialize() OVERRIDE; | |
| 21 virtual void Shutdown() OVERRIDE; | |
| 22 | |
| 23 private: | |
| 24 #if defined(OS_WIN) | |
| 25 void LoadCrashService(); | |
| 26 | |
| 27 base::ProcessHandle crash_service_; | |
| 28 | |
| 29 // JobObject used to clean up orphaned child processes. | |
| 30 base::win::ScopedHandle job_handle_; | |
| 31 #endif | |
| 32 }; | |
| 33 | |
| 34 #endif // CHROME_TEST_UI_UI_TEST_SUITE_H_ | |
| OLD | NEW |