Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / test / ui / ui_test_suite.h
blobe93de67c32cd0077b1114361c0c80c437356bd5c
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.
5 #ifndef CHROME_TEST_UI_UI_TEST_SUITE_H_
6 #define CHROME_TEST_UI_UI_TEST_SUITE_H_
8 #include "base/process/process.h"
9 #include "chrome/test/base/chrome_test_suite.h"
11 #if defined(OS_WIN)
12 #include "base/win/scoped_handle.h"
13 #endif
15 class UITestSuite : public ChromeTestSuite {
16 public:
17 UITestSuite(int argc, char** argv);
19 protected:
20 virtual void Initialize() OVERRIDE;
21 virtual void Shutdown() OVERRIDE;
23 private:
24 #if defined(OS_WIN)
25 void LoadCrashService();
27 base::ProcessHandle crash_service_;
29 // JobObject used to clean up orphaned child processes.
30 base::win::ScopedHandle job_handle_;
31 #endif
34 #endif // CHROME_TEST_UI_UI_TEST_SUITE_H_