OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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_BROWSER_TEST_H_ | 5 #ifndef CONTENT_TEST_CONTENT_BROWSER_TEST_H_ |
6 #define CONTENT_TEST_CONTENT_BROWSER_TEST_H_ | 6 #define CONTENT_TEST_CONTENT_BROWSER_TEST_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
10 #include "content/test/browser_test_base.h" | 9 #include "content/test/browser_test_base.h" |
11 | 10 |
12 class ShellMainDelegate; | 11 class ShellMainDelegate; |
13 | 12 |
14 class ContentBrowserTest : public BrowserTestBase { | 13 class ContentBrowserTest : public BrowserTestBase { |
15 protected: | 14 protected: |
16 ContentBrowserTest(); | 15 ContentBrowserTest(); |
17 virtual ~ContentBrowserTest(); | 16 virtual ~ContentBrowserTest(); |
18 | 17 |
19 // testing::Test: | 18 // testing::Test: |
20 virtual void SetUp() OVERRIDE; | 19 virtual void SetUp() OVERRIDE; |
21 virtual void TearDown() OVERRIDE; | 20 virtual void TearDown() OVERRIDE; |
22 | 21 |
23 // BrowserTestBase: | 22 // BrowserTestBase: |
24 virtual void RunTestOnMainThreadLoop() OVERRIDE; | 23 virtual void RunTestOnMainThreadLoop() OVERRIDE; |
25 | 24 |
26 private: | 25 private: |
27 scoped_ptr<ShellMainDelegate> shell_main_delegate_; | 26 scoped_ptr<ShellMainDelegate> shell_main_delegate_; |
28 }; | 27 }; |
29 | 28 |
30 #endif // CONTENT_TEST_CONTENT_BROWSER_TEST_H_ | 29 #endif // CONTENT_TEST_CONTENT_BROWSER_TEST_H_ |
OLD | NEW |