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

Side by Side Diff: content/test/content_test_suite.h

Issue 45753004: ui: Repack resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
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 CONTENT_TEST_CONTENT_TEST_SUITE_H_ 5 #ifndef CONTENT_TEST_CONTENT_TEST_SUITE_H_
6 #define CONTENT_TEST_CONTENT_TEST_SUITE_H_ 6 #define CONTENT_TEST_CONTENT_TEST_SUITE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/public/test/content_test_suite_base.h" 9 #include "content/public/test/content_test_suite_base.h"
10 10
11 #if defined(OS_WIN) 11 #if defined(OS_WIN)
12 #include "base/win/scoped_com_initializer.h" 12 #include "base/win/scoped_com_initializer.h"
13 #endif 13 #endif
14 14
15 #if defined(USE_AURA) 15 namespace ui {
16 namespace aura {
17 namespace test { 16 namespace test {
18 class TestAuraInitializer; 17 class UITestInitializer;
19 } // namespace test 18 }
20 } // namespace aura 19 }
21 #endif
22 20
23 namespace content { 21 namespace content {
24 22
25 class ContentTestSuite : public ContentTestSuiteBase { 23 class ContentTestSuite : public ContentTestSuiteBase {
26 public: 24 public:
27 ContentTestSuite(int argc, char** argv); 25 ContentTestSuite(int argc, char** argv);
28 virtual ~ContentTestSuite(); 26 virtual ~ContentTestSuite();
29 27
30 protected: 28 protected:
31 virtual void Initialize() OVERRIDE; 29 virtual void Initialize() OVERRIDE;
32 30
33 virtual ContentClient* CreateClientForInitialization() OVERRIDE; 31 virtual ContentClient* CreateClientForInitialization() OVERRIDE;
34 32
35 private: 33 private:
36 #if defined(OS_WIN) 34 #if defined(OS_WIN)
37 base::win::ScopedCOMInitializer com_initializer_; 35 base::win::ScopedCOMInitializer com_initializer_;
38 #endif 36 #endif
39 37
40 #if defined(USE_AURA) 38 scoped_ptr<ui::test::UITestInitializer> ui_test_initializer_;
41 scoped_ptr<aura::test::TestAuraInitializer> aura_initializer_;
42 #endif
43 39
44 DISALLOW_COPY_AND_ASSIGN(ContentTestSuite); 40 DISALLOW_COPY_AND_ASSIGN(ContentTestSuite);
45 }; 41 };
46 42
47 } // namespace content 43 } // namespace content
48 44
49 #endif // CONTENT_TEST_CONTENT_TEST_SUITE_H_ 45 #endif // CONTENT_TEST_CONTENT_TEST_SUITE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698