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

Side by Side Diff: ash/test/test_suite.h

Issue 15755016: Introduce a single call to grab default browser on Win8 for tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 7 years, 6 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 | « no previous file | ash/test/test_suite.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ASH_TEST_TEST_SUITE_H_ 5 #ifndef ASH_TEST_TEST_SUITE_H_
6 #define ASH_TEST_TEST_SUITE_H_ 6 #define ASH_TEST_TEST_SUITE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/test/test_suite.h" 9 #include "base/test/test_suite.h"
10 10
11 #if defined(OS_WIN)
12 #include "base/memory/scoped_ptr.h"
13 #include "base/win/scoped_com_initializer.h"
14 #endif
15
11 namespace ash { 16 namespace ash {
12 namespace test { 17 namespace test {
13 18
14 class AuraShellTestSuite : public base::TestSuite { 19 class AuraShellTestSuite : public base::TestSuite {
15 public: 20 public:
16 AuraShellTestSuite(int argc, char** argv); 21 AuraShellTestSuite(int argc, char** argv);
17 22
18 protected: 23 protected:
19 // base::TestSuite: 24 // base::TestSuite:
20 virtual void Initialize() OVERRIDE; 25 virtual void Initialize() OVERRIDE;
21 virtual void Shutdown() OVERRIDE; 26 virtual void Shutdown() OVERRIDE;
27
28 private:
29 #if defined(OS_WIN)
30 scoped_ptr<base::win::ScopedCOMInitializer> com_initializer_;
31 #endif
22 }; 32 };
23 33
24 } // namespace test 34 } // namespace test
25 } // namespace ash 35 } // namespace ash
26 36
27 #endif // ASH_TEST_TEST_SUITE_H_ 37 #endif // ASH_TEST_TEST_SUITE_H_
OLDNEW
« no previous file with comments | « no previous file | ash/test/test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698