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

Side by Side Diff: chrome/test/base/testing_pref_service.h

Issue 7537033: Move more files from chrome/test to chrome/test/base, part #5 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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) 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_TEST_TESTING_PREF_SERVICE_H_ 5 #ifndef CHROME_TEST_BASE_TESTING_PREF_SERVICE_H_
6 #define CHROME_TEST_TESTING_PREF_SERVICE_H_ 6 #define CHROME_TEST_BASE_TESTING_PREF_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "chrome/browser/prefs/pref_service.h" 10 #include "chrome/browser/prefs/pref_service.h"
11 11
12 class TestingBrowserProcess; 12 class TestingBrowserProcess;
13 class TestingPrefStore; 13 class TestingPrefStore;
14 14
15 // A PrefService subclass for testing. It operates totally in memory and 15 // A PrefService subclass for testing. It operates totally in memory and
16 // provides additional API for manipulating preferences at the different levels 16 // provides additional API for manipulating preferences at the different levels
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 return &local_state_; 87 return &local_state_;
88 } 88 }
89 89
90 private: 90 private:
91 TestingBrowserProcess* browser_process_; 91 TestingBrowserProcess* browser_process_;
92 TestingPrefService local_state_; 92 TestingPrefService local_state_;
93 93
94 DISALLOW_COPY_AND_ASSIGN(ScopedTestingLocalState); 94 DISALLOW_COPY_AND_ASSIGN(ScopedTestingLocalState);
95 }; 95 };
96 96
97 #endif // CHROME_TEST_TESTING_PREF_SERVICE_H_ 97 #endif // CHROME_TEST_BASE_TESTING_PREF_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/test/base/test_tab_strip_model_observer.cc ('k') | chrome/test/base/testing_pref_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698