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

Unified Diff: chrome/browser/chromeos/login/reset_browsertest.cc

Issue 463053002: Flag for rollback feature switched to covering by default state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tests adapted for flag add. Created 6 years, 4 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 | chrome/browser/ui/webui/chromeos/login/reset_screen_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/reset_browsertest.cc
diff --git a/chrome/browser/chromeos/login/reset_browsertest.cc b/chrome/browser/chromeos/login/reset_browsertest.cc
index a6390f6cace8e4ba9dbb348d79efdcddfe9f2714..89eb85aea2cfb352b49c4d1db2d6bbebc5f210d7 100644
--- a/chrome/browser/chromeos/login/reset_browsertest.cc
+++ b/chrome/browser/chromeos/login/reset_browsertest.cc
@@ -39,6 +39,11 @@ class ResetTest : public LoginManagerTest {
}
virtual ~ResetTest() {}
+ virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE {
+ LoginManagerTest::SetUpCommandLine(command_line);
+ command_line->AppendSwitch(switches::kEnableRollbackOption);
+ }
+
// LoginManagerTest overrides:
virtual void SetUpInProcessBrowserTestFixture() OVERRIDE {
FakeDBusThreadManager* dbus_manager = new FakeDBusThreadManager;
@@ -91,6 +96,7 @@ class ResetFirstAfterBootTest : public ResetTest {
virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE {
LoginManagerTest::SetUpCommandLine(command_line);
command_line->AppendSwitch(switches::kFirstExecAfterBoot);
+ command_line->AppendSwitch(switches::kEnableRollbackOption);
}
};
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chromeos/login/reset_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698