| 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 CHROME_BROWSER_UI_TAB_CONTENTS_TEST_TAB_CONTENTS_WRAPPER_H_ | 5 #ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TEST_TAB_CONTENTS_WRAPPER_H_ |
| 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TEST_TAB_CONTENTS_WRAPPER_H_ | 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TEST_TAB_CONTENTS_WRAPPER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "chrome/browser/renderer_host/test/test_render_view_host.h" | 10 #include "content/browser/renderer_host/test_render_view_host.h" |
| 11 | 11 |
| 12 class TabContentsWrapper; | 12 class TabContentsWrapper; |
| 13 | 13 |
| 14 class TabContentsWrapperTestHarness : public RenderViewHostTestHarness { | 14 class TabContentsWrapperTestHarness : public RenderViewHostTestHarness { |
| 15 public: | 15 public: |
| 16 TabContentsWrapperTestHarness(); | 16 TabContentsWrapperTestHarness(); |
| 17 virtual ~TabContentsWrapperTestHarness(); | 17 virtual ~TabContentsWrapperTestHarness(); |
| 18 | 18 |
| 19 TestTabContents* contents(); | 19 TestTabContents* contents(); |
| 20 TabContentsWrapper* contents_wrapper(); | 20 TabContentsWrapper* contents_wrapper(); |
| 21 | 21 |
| 22 protected: | 22 protected: |
| 23 // testing::Test | 23 // testing::Test |
| 24 virtual void SetUp() OVERRIDE; | 24 virtual void SetUp() OVERRIDE; |
| 25 virtual void TearDown() OVERRIDE; | 25 virtual void TearDown() OVERRIDE; |
| 26 | 26 |
| 27 scoped_ptr<TabContentsWrapper> contents_wrapper_; | 27 scoped_ptr<TabContentsWrapper> contents_wrapper_; |
| 28 | 28 |
| 29 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapperTestHarness); | 29 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapperTestHarness); |
| 30 }; | 30 }; |
| 31 | 31 |
| 32 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TEST_TAB_CONTENTS_WRAPPER_H_ | 32 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TEST_TAB_CONTENTS_WRAPPER_H_ |
| OLD | NEW |