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

Side by Side Diff: chrome_frame/test/reliability/reliability_test_suite.h

Issue 9664069: Move scoped_ole_initializer.h to ui/base/win and clean up ole initialization/uninitialization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/test/net/fake_external_tab.h ('k') | content/browser/browser_main_loop.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_FRAME_TEST_RELIABILITY_RELIABILITY_TEST_SUITE_H_ 5 #ifndef CHROME_FRAME_TEST_RELIABILITY_RELIABILITY_TEST_SUITE_H_
6 #define CHROME_FRAME_TEST_RELIABILITY_RELIABILITY_TEST_SUITE_H_ 6 #define CHROME_FRAME_TEST_RELIABILITY_RELIABILITY_TEST_SUITE_H_
7 7
8 #include <objbase.h>
9
8 #include "chrome_frame/test/reliability/page_load_test.h" 10 #include "chrome_frame/test/reliability/page_load_test.h"
9 #include "chrome/test/ui/ui_test_suite.h" 11 #include "chrome/test/ui/ui_test_suite.h"
10 12
11 class ReliabilityTestSuite : public UITestSuite { 13 class ReliabilityTestSuite : public UITestSuite {
12 public: 14 public:
13 ReliabilityTestSuite(int argc, char** argv) : UITestSuite(argc, argv) { 15 ReliabilityTestSuite(int argc, char** argv) : UITestSuite(argc, argv) {
14 } 16 }
15 17
16 protected: 18 protected:
17 virtual void Initialize() { 19 virtual void Initialize() {
18 CoInitializeEx(NULL, COINIT_MULTITHREADED); 20 CoInitializeEx(NULL, COINIT_MULTITHREADED);
19 SetPageRange(*CommandLine::ForCurrentProcess()); 21 SetPageRange(*CommandLine::ForCurrentProcess());
20 UITestSuite::Initialize(); 22 UITestSuite::Initialize();
21 } 23 }
22 24
23 virtual void Shutdown() { 25 virtual void Shutdown() {
24 CoUninitialize(); 26 CoUninitialize();
25 UITestSuite::Shutdown(); 27 UITestSuite::Shutdown();
26 } 28 }
27 }; 29 };
28 30
29 #endif // CHROME_FRAME_TEST_RELIABILITY_RELIABILITY_TEST_SUITE_H_ 31 #endif // CHROME_FRAME_TEST_RELIABILITY_RELIABILITY_TEST_SUITE_H_
30 32
OLDNEW
« no previous file with comments | « chrome_frame/test/net/fake_external_tab.h ('k') | content/browser/browser_main_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698