OLD | NEW |
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_BROWSER_PRINTING_PRINT_PREVIEW_UNIT_TEST_BASE_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_PREVIEW_UNIT_TEST_BASE_H_ |
6 #define CHROME_BROWSER_PRINTING_PRINT_PREVIEW_UNIT_TEST_BASE_H_ | 6 #define CHROME_BROWSER_PRINTING_PRINT_PREVIEW_UNIT_TEST_BASE_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | |
9 #include "chrome/test/base/browser_with_test_window_test.h" | 8 #include "chrome/test/base/browser_with_test_window_test.h" |
10 | 9 |
11 class TestingPrefService; | |
12 | |
13 class PrintPreviewUnitTestBase : public BrowserWithTestWindowTest { | 10 class PrintPreviewUnitTestBase : public BrowserWithTestWindowTest { |
14 public: | 11 public: |
15 PrintPreviewUnitTestBase(); | 12 PrintPreviewUnitTestBase(); |
16 virtual ~PrintPreviewUnitTestBase(); | 13 virtual ~PrintPreviewUnitTestBase(); |
17 | 14 |
18 protected: | 15 protected: |
19 virtual void SetUp() OVERRIDE; | 16 virtual void SetUp() OVERRIDE; |
20 virtual void TearDown() OVERRIDE; | |
21 | |
22 private: | |
23 scoped_ptr<TestingPrefService> testing_local_state_; | |
24 }; | 17 }; |
25 | 18 |
26 #endif // CHROME_BROWSER_PRINTING_PRINT_PREVIEW_UNIT_TEST_BASE_H_ | 19 #endif // CHROME_BROWSER_PRINTING_PRINT_PREVIEW_UNIT_TEST_BASE_H_ |
OLD | NEW |