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

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

Issue 2401733002: Revert "Added a ForceYouTubeRestrict policy and deprecated the old ForceYouTubeSafetyMode policy" (Closed)
Patch Set: 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 8273aa1558bec8c1faccddad08ddc16fc78c528b..74f0e2c1980ad7b2d64ed97c9dc3b634c078817a 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_restrict_,
+ &force_youtube_safety_mode_,
&allowed_domains_for_apps_,
pref_service);
@@ -1059,7 +1059,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_restrict(&force_youtube_restrict_);
+ network_delegate->set_force_youtube_safety_mode(&force_youtube_safety_mode_);
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());
@@ -1277,7 +1277,7 @@ void ProfileIOData::ShutdownOnUIThread(
enable_referrers_.Destroy();
enable_do_not_track_.Destroy();
force_google_safesearch_.Destroy();
- force_youtube_restrict_.Destroy();
+ force_youtube_safety_mode_.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