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

Unified Diff: chrome/test/testing_profile.h

Issue 6292017: Extended: Add "system" URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/testing_profile.h
diff --git a/chrome/test/testing_profile.h b/chrome/test/testing_profile.h
index f7c3efab78b0e6644ff742de191ac76eb58ca1c4..0b288f237140455ba18cb84ac65c689a7af96871 100644
--- a/chrome/test/testing_profile.h
+++ b/chrome/test/testing_profile.h
@@ -169,6 +169,8 @@ class TestingProfile : public Profile {
// TestingPrefService takes ownership of |prefs|.
void SetPrefService(PrefService* prefs);
virtual PrefService* GetPrefs();
+ void SetLocalState(PrefService* local_state);
+ virtual PrefService* GetLocalState();
virtual TemplateURLModel* GetTemplateURLModel();
virtual TemplateURLFetcher* GetTemplateURLFetcher();
virtual history::TopSites* GetTopSites();
@@ -280,6 +282,7 @@ class TestingProfile : public Profile {
protected:
base::Time start_time_;
scoped_ptr<PrefService> prefs_;
+ scoped_ptr<PrefService> local_state_;
// ref only for right type, lifecycle is managed by prefs_
TestingPrefService* testing_prefs_;

Powered by Google App Engine
This is Rietveld 408576698