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

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: Continued 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 ee16eb636d5b3d328eef7c47ff9fa8c2304d338d..fc56368c77d17d50674412a5efe3c23c6b3643c7 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();
@@ -279,6 +281,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