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

Unified Diff: chrome/browser/policy/cloud/cloud_policy_browsertest.cc

Issue 2172543003: Remove NetPrefObserver class and two prefs that do not do anything. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: #17. Created 4 years, 5 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/policy/cloud/cloud_policy_browsertest.cc
diff --git a/chrome/browser/policy/cloud/cloud_policy_browsertest.cc b/chrome/browser/policy/cloud/cloud_policy_browsertest.cc
index 047c919dbdde816035ca34c258d15fad8c6276d8..105bf446dafcbb98a91f543b810e00de6e932d46 100644
--- a/chrome/browser/policy/cloud/cloud_policy_browsertest.cc
+++ b/chrome/browser/policy/cloud/cloud_policy_browsertest.cc
@@ -484,9 +484,11 @@ TEST(CloudPolicyProtoTest, VerifyProtobufEquivalence) {
list->add_entries("ftp");
list->add_entries("mailto");
// Try explicitly setting a policy mode too.
- chrome_settings.mutable_disablespdy()->set_disablespdy(false);
- chrome_settings.mutable_disablespdy()->mutable_policy_options()->set_mode(
- em::PolicyOptions::MANDATORY);
+ chrome_settings.mutable_searchsuggestenabled()->set_searchsuggestenabled(
+ false);
+ chrome_settings.mutable_searchsuggestenabled()
+ ->mutable_policy_options()
+ ->set_mode(em::PolicyOptions::MANDATORY);
chrome_settings.mutable_syncdisabled()->set_syncdisabled(true);
chrome_settings.mutable_syncdisabled()->mutable_policy_options()->set_mode(
em::PolicyOptions::RECOMMENDED);
@@ -499,9 +501,10 @@ TEST(CloudPolicyProtoTest, VerifyProtobufEquivalence) {
list = cloud_policy.mutable_disabledschemes()->mutable_value();
list->add_entries("ftp");
list->add_entries("mailto");
- cloud_policy.mutable_disablespdy()->set_value(false);
- cloud_policy.mutable_disablespdy()->mutable_policy_options()->set_mode(
- em::PolicyOptions::MANDATORY);
+ cloud_policy.mutable_searchsuggestenabled()->set_value(false);
+ cloud_policy.mutable_searchsuggestenabled()
+ ->mutable_policy_options()
+ ->set_mode(em::PolicyOptions::MANDATORY);
cloud_policy.mutable_syncdisabled()->set_value(true);
cloud_policy.mutable_syncdisabled()->mutable_policy_options()->set_mode(
em::PolicyOptions::RECOMMENDED);

Powered by Google App Engine
This is Rietveld 408576698