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

Unified Diff: chrome/test/base/testing_profile.h

Issue 7989001: Remove use of default request context and fix use of speech censor flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update SpeechInputPreferences when preference changes Created 9 years, 3 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/base/testing_profile.h
diff --git a/chrome/test/base/testing_profile.h b/chrome/test/base/testing_profile.h
index 39aefe2bde32b311ccc4953c0aa91d0ff9b56a81..1cc6cd972d095a87f4e424f5df045776ca071c12 100644
--- a/chrome/test/base/testing_profile.h
+++ b/chrome/test/base/testing_profile.h
@@ -46,6 +46,7 @@ class HostContentSettingsMap;
class PrefService;
class ProfileDependencyManager;
class ProfileSyncService;
+class SpeechInputPreferences;
class TemplateURLService;
class TestingPrefService;
class ThemeService;
@@ -221,6 +222,7 @@ class TestingProfile : public Profile {
virtual FindBarState* GetFindBarState();
virtual HostContentSettingsMap* GetHostContentSettingsMap();
virtual GeolocationPermissionContext* GetGeolocationPermissionContext();
+ virtual SpeechInputPreferences* GetSpeechInputPreferences();
virtual HostZoomMap* GetHostZoomMap();
virtual bool HasProfileSyncService() const;
virtual std::wstring GetName();
@@ -366,6 +368,8 @@ class TestingProfile : public Profile {
scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
scoped_refptr<GeolocationPermissionContext> geolocation_permission_context_;
+ scoped_refptr<SpeechInputPreferences> speech_input_preferences_;
+
// Find bar state. Created lazily by GetFindBarState().
scoped_ptr<FindBarState> find_bar_state_;

Powered by Google App Engine
This is Rietveld 408576698