OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_TEST_CONTENT_BROWSER_TEST_H_ |
| 6 #define CONTENT_TEST_CONTENT_BROWSER_TEST_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "content/browser/mock_content_browser_client.h" |
| 11 #include "content/test/browser_test_base.h" |
| 12 |
| 13 namespace content { |
| 14 class ContentBrowserClient; |
| 15 class ContentClient; |
| 16 } |
| 17 |
| 18 class ContentBrowserTest : public BrowserTestBase { |
| 19 protected: |
| 20 ContentBrowserTest(); |
| 21 virtual ~ContentBrowserTest(); |
| 22 |
| 23 // testing::Test: |
| 24 virtual void SetUp() OVERRIDE; |
| 25 virtual void TearDown() OVERRIDE; |
| 26 |
| 27 // BrowserTestBase: |
| 28 virtual void RunTestOnMainThreadLoop() OVERRIDE; |
| 29 |
| 30 private: |
| 31 scoped_ptr<content::ContentClient> content_client_; |
| 32 scoped_ptr<content::ContentBrowserClient> content_browser_client_; |
| 33 }; |
| 34 |
| 35 #endif // CONTENT_TEST_CONTENT_BROWSER_TEST_H_ |
OLD | NEW |