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

Unified Diff: chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc

Issue 1748773002: Simplify the default browser infobar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fieldtrial testing Created 4 years, 8 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/sync/test/integration/two_client_preferences_sync_test.cc
diff --git a/chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc b/chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc
index b4a6f48046826832468b205b4aed461875045549..4bbf620059242da794ebce702437f50627ab6e3f 100644
--- a/chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc
+++ b/chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc
@@ -77,10 +77,10 @@ IN_PROC_BROWSER_TEST_F(TwoClientPreferencesSyncTest,
ASSERT_TRUE(SetupSync());
DisableVerifier();
ASSERT_TRUE(AwaitStringPrefMatches(prefs::kHomePage));
- ASSERT_TRUE(AwaitBooleanPrefMatches(prefs::kCheckDefaultBrowser));
+ ASSERT_TRUE(AwaitBooleanPrefMatches(prefs::kDisableScreenshots));
// This pref is not syncable.
- ChangeBooleanPref(0, prefs::kCheckDefaultBrowser);
+ ChangeBooleanPref(0, prefs::kDisableScreenshots);
// This pref is syncable.
ChangeStringPref(0, prefs::kHomePage, "http://news.google.com");
@@ -88,7 +88,7 @@ IN_PROC_BROWSER_TEST_F(TwoClientPreferencesSyncTest,
// Wait until the syncable pref is synced, then expect that the non-syncable
// one is still out of sync.
ASSERT_TRUE(AwaitStringPrefMatches(prefs::kHomePage));
- ASSERT_FALSE(BooleanPrefMatches(prefs::kCheckDefaultBrowser));
+ ASSERT_FALSE(BooleanPrefMatches(prefs::kDisableScreenshots));
}
IN_PROC_BROWSER_TEST_F(TwoClientPreferencesSyncTest, E2E_ENABLED(StringPref)) {

Powered by Google App Engine
This is Rietveld 408576698