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

Side by Side Diff: chrome/browser/printing/print_preview_unit_test_base.h

Issue 10808006: Move printing.* prefs from local state to profile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
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_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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698