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

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

Issue 2401743003: Recommit and fix of "Added a ForceYouTubeRestrict policy and deprecated the old ForceYouTubeSafetyM… (Closed)
Patch Set: Rebase Created 4 years, 2 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_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index eff5c7868eea6f275aebf0c9c088561824014d2f..6cc3bfb22b28948c2579b19a6a2e635c32246fad 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -478,7 +478,7 @@ void ProfileIOData::InitializeOnUIThread(Profile* profile) {
&enable_referrers_,
&enable_do_not_track_,
&force_google_safesearch_,
- &force_youtube_safety_mode_,
+ &force_youtube_restrict_,
&allowed_domains_for_apps_,
pref_service);
@@ -1054,7 +1054,7 @@ void ProfileIOData::Init(
network_delegate->set_cookie_settings(profile_params_->cookie_settings.get());
network_delegate->set_enable_do_not_track(&enable_do_not_track_);
network_delegate->set_force_google_safe_search(&force_google_safesearch_);
- network_delegate->set_force_youtube_safety_mode(&force_youtube_safety_mode_);
+ network_delegate->set_force_youtube_restrict(&force_youtube_restrict_);
network_delegate->set_allowed_domains_for_apps(&allowed_domains_for_apps_);
network_delegate->set_data_use_aggregator(
io_thread_globals->data_use_aggregator.get(), IsOffTheRecord());
@@ -1272,7 +1272,7 @@ void ProfileIOData::ShutdownOnUIThread(
enable_referrers_.Destroy();
enable_do_not_track_.Destroy();
force_google_safesearch_.Destroy();
- force_youtube_safety_mode_.Destroy();
+ force_youtube_restrict_.Destroy();
allowed_domains_for_apps_.Destroy();
enable_metrics_.Destroy();
safe_browsing_enabled_.Destroy();
« no previous file with comments | « chrome/browser/profiles/profile_io_data.h ('k') | chrome/browser/supervised_user/supervised_user_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698