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

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

Issue 9658001: Fix incognito_mode_prefs_unittest compile on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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/incognito_mode_prefs_unittest.cc
diff --git a/chrome/browser/prefs/incognito_mode_prefs_unittest.cc b/chrome/browser/prefs/incognito_mode_prefs_unittest.cc
index db1a3f4d117aaeca59a80b94cede8bc09dd7831b..b534fa5362d5edf91ad6770032f4c79d214ba216 100644
--- a/chrome/browser/prefs/incognito_mode_prefs_unittest.cc
+++ b/chrome/browser/prefs/incognito_mode_prefs_unittest.cc
@@ -62,6 +62,7 @@ typedef IncognitoModePrefsTest IncognitoModePrefsDeathTest;
#define MAYBE_GetAvailabilityBadValue GetAvailabilityBadValue
#endif
+#if GTEST_HAS_DEATH_TEST
TEST_F(IncognitoModePrefsDeathTest, MAYBE_GetAvailabilityBadValue) {
prefs_.SetUserPref(prefs::kIncognitoModeAvailability,
Value::CreateIntegerValue(-1));
@@ -79,3 +80,4 @@ TEST_F(IncognitoModePrefsDeathTest, MAYBE_GetAvailabilityBadValue) {
}, "");
#endif
}
+#endif // GTEST_HAS_DEATH_TEST
« 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