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

Side by Side Diff: chrome/test/base/in_process_browser_test.h

Issue 16022003: Base for Ash browser_tests on Win8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Do not use SetUp/TearDownTestCase() 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 | « chrome/test/DEPS ('k') | chrome/test/base/in_process_browser_test.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 CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_ 5 #ifndef CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_
6 #define CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_ 6 #define CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/files/scoped_temp_dir.h" 9 #include "base/files/scoped_temp_dir.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "content/public/common/page_transition_types.h" 12 #include "content/public/common/page_transition_types.h"
13 #include "content/public/test/browser_test.h" 13 #include "content/public/test/browser_test.h"
14 #include "content/public/test/browser_test_base.h" 14 #include "content/public/test/browser_test_base.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 #if defined(OS_CHROMEOS) 17 #if defined(OS_CHROMEOS)
18 #include "chrome/browser/chromeos/cros/cros_library.h" 18 #include "chrome/browser/chromeos/cros/cros_library.h"
19 #endif // defined(OS_CHROMEOS) 19 #endif // defined(OS_CHROMEOS)
20 20
21 namespace base {
21 #if defined(OS_MACOSX) 22 #if defined(OS_MACOSX)
22 namespace base {
23 namespace mac { 23 namespace mac {
24 class ScopedNSAutoreleasePool; 24 class ScopedNSAutoreleasePool;
25 } // namespace mac 25 } // namespace mac
26 #endif // defined(OS_MACOSX)
27
28 #if defined(OS_WIN) && defined(USE_AURA)
29 namespace win {
30 class ScopedCOMInitializer;
31 }
32 #endif // defined(OS_WIN) && defined(USE_AURA)
26 } // namespace base 33 } // namespace base
27 #endif // OS_MACOSX
28 34
29 class Browser; 35 class Browser;
30 class CommandLine; 36 class CommandLine;
31 class Profile; 37 class Profile;
32 38
33 namespace content { 39 namespace content {
34 class ContentRendererClient; 40 class ContentRendererClient;
35 } 41 }
36 42
37 namespace net { 43 namespace net {
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 // True if we should exit the tests after the last browser instance closes. 208 // True if we should exit the tests after the last browser instance closes.
203 bool exit_when_last_browser_closes_; 209 bool exit_when_last_browser_closes_;
204 210
205 #if defined(OS_CHROMEOS) 211 #if defined(OS_CHROMEOS)
206 chromeos::ScopedStubCrosEnabler stub_cros_enabler_; 212 chromeos::ScopedStubCrosEnabler stub_cros_enabler_;
207 #endif // defined(OS_CHROMEOS) 213 #endif // defined(OS_CHROMEOS)
208 214
209 #if defined(OS_MACOSX) 215 #if defined(OS_MACOSX)
210 base::mac::ScopedNSAutoreleasePool* autorelease_pool_; 216 base::mac::ScopedNSAutoreleasePool* autorelease_pool_;
211 #endif // OS_MACOSX 217 #endif // OS_MACOSX
218
219 #if defined(OS_WIN) && defined(USE_AURA)
220 scoped_ptr<base::win::ScopedCOMInitializer> com_initializer_;
221 #endif
212 }; 222 };
213 223
214 #endif // CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_ 224 #endif // CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_
OLDNEW
« no previous file with comments | « chrome/test/DEPS ('k') | chrome/test/base/in_process_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698