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

Unified Diff: chrome/browser/about_flags_unittest.cc

Issue 13467023: Add differentiation between owner only and common flags on ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed one forgotten place to replace. Created 7 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/ui/webui/flags_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags_unittest.cc
diff --git a/chrome/browser/about_flags_unittest.cc b/chrome/browser/about_flags_unittest.cc
index 1f6ef0458f8ab6efefc65909415beb52c699db2c..036c70714b5fd5cb5baa31ba7d945bc09741b61e 100644
--- a/chrome/browser/about_flags_unittest.cc
+++ b/chrome/browser/about_flags_unittest.cc
@@ -267,7 +267,8 @@ TEST_F(AboutFlagsTest, PersistAndPrune) {
EXPECT_FALSE(command_line.HasSwitch(kSwitch3));
// Experiment 3 should show still be persisted in preferences though.
- scoped_ptr<ListValue> switch_prefs(GetFlagsExperimentsData(&prefs_));
+ scoped_ptr<ListValue> switch_prefs(
+ GetFlagsExperimentsData(&prefs_, kOwnerAccessToFlags));
ASSERT_TRUE(switch_prefs.get());
EXPECT_EQ(arraysize(kExperiments), switch_prefs->GetSize());
}
@@ -317,7 +318,8 @@ TEST_F(AboutFlagsTest, CheckValues) {
#endif
// And it should persist
- scoped_ptr<ListValue> switch_prefs(GetFlagsExperimentsData(&prefs_));
+ scoped_ptr<ListValue> switch_prefs(
+ GetFlagsExperimentsData(&prefs_, kOwnerAccessToFlags));
ASSERT_TRUE(switch_prefs.get());
EXPECT_EQ(arraysize(kExperiments), switch_prefs->GetSize());
}
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/ui/webui/flags_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698