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

Unified Diff: chrome/browser/prefs/pref_hash_browsertest.cc

Issue 333443002: Fix warning seen for Official Chrome Windows builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/pref_hash_browsertest.cc
diff --git a/chrome/browser/prefs/pref_hash_browsertest.cc b/chrome/browser/prefs/pref_hash_browsertest.cc
index 4922946d9142cd1118afab0e9c302797ff22ef81..cdce3053b495c80fd7f451b1b19e757d84278acd 100644
--- a/chrome/browser/prefs/pref_hash_browsertest.cc
+++ b/chrome/browser/prefs/pref_hash_browsertest.cc
@@ -147,11 +147,12 @@ class PrefHashBrowserTest : public InProcessBrowserTest,
// chrome_pref_service_factory.cc allows unloaded profile seeding on this
// platform.
return true;
-#endif // defined(OFFICIAL_BUILD)
- return GetParam() == chrome_prefs::internals::
- kSettingsEnforcementGroupNoEnforcement ||
- GetParam() == chrome_prefs::internals::
+#else
+ return GetParam() == chrome_prefs::internals::
+ kSettingsEnforcementGroupNoEnforcement ||
+ GetParam() == chrome_prefs::internals::
kSettingsEnforcementGroupEnforceOnload;
+#endif // defined(OFFICIAL_BUILD)
}
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698