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

Unified Diff: chrome/browser/profiles/profile_impl.cc

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: " 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/browser/profiles/profile_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index be393ae5584660f493534d0b4795260d80a4604d..5cc216edde53f163a0668ca01f6d74edaa4bbca7 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -1144,6 +1144,10 @@ GeolocationPermissionContext* ProfileImpl::GetGeolocationPermissionContext() {
return geolocation_permission_context_.get();
}
+bool ProfileImpl::GetSpeechCensorPref() {
+ return GetPrefs()->GetBoolean(prefs::kSpeechInputCensorResults);
+}
+
UserStyleSheetWatcher* ProfileImpl::GetUserStyleSheetWatcher() {
if (!user_style_sheet_watcher_.get()) {
user_style_sheet_watcher_ = new UserStyleSheetWatcher(GetPath());

Powered by Google App Engine
This is Rietveld 408576698