1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/command_line.h"
6 #include "chrome/browser/ui/webui/options/options_ui_browsertest.h"
7 #include "chrome/common/chrome_switches.h"
8 #include "chromeos/chromeos_switches.h"
12 // Same as OptionsUIBrowserTest but launches with Guest mode command line
14 class GuestModeOptionsBrowserTest
: public options::OptionsUIBrowserTest
{
16 GuestModeOptionsBrowserTest() : OptionsUIBrowserTest() {}
18 virtual void SetUpCommandLine(CommandLine
* command_line
) OVERRIDE
{
19 command_line
->AppendSwitch(chromeos::switches::kGuestSession
);
20 command_line
->AppendSwitch(switches::kIncognito
);
24 IN_PROC_BROWSER_TEST_F(GuestModeOptionsBrowserTest
, DISABLED_LoadOptionsByURL
) {