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

Side by Side Diff: chrome/browser/ui/webui/options/chromeos/guest_mode_options_ui_browsertest.cc

Issue 13671005: Re-apply 192420: Move login switches to src/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/webui/options/browser_options_handler.cc ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/command_line.h" 5 #include "base/command_line.h"
6 #include "chrome/browser/ui/webui/options/options_ui_browsertest.h" 6 #include "chrome/browser/ui/webui/options/options_ui_browsertest.h"
7 #include "chrome/common/chrome_switches.h" 7 #include "chrome/common/chrome_switches.h"
8 #include "chromeos/chromeos_switches.h"
8 9
9 namespace { 10 namespace {
10 11
11 // Same as OptionsBrowserTest but launches with Guest mode command line 12 // Same as OptionsBrowserTest but launches with Guest mode command line
12 // switches. 13 // switches.
13 class GuestModeOptionsBrowserTest : public options::OptionsBrowserTest { 14 class GuestModeOptionsBrowserTest : public options::OptionsBrowserTest {
14 public: 15 public:
15 GuestModeOptionsBrowserTest() : OptionsBrowserTest() {} 16 GuestModeOptionsBrowserTest() : OptionsBrowserTest() {}
16 17
17 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { 18 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
18 command_line->AppendSwitch(switches::kGuestSession); 19 command_line->AppendSwitch(chromeos::switches::kGuestSession);
19 command_line->AppendSwitch(switches::kIncognito); 20 command_line->AppendSwitch(switches::kIncognito);
20 } 21 }
21 }; 22 };
22 23
23 IN_PROC_BROWSER_TEST_F(GuestModeOptionsBrowserTest, DISABLED_LoadOptionsByURL) { 24 IN_PROC_BROWSER_TEST_F(GuestModeOptionsBrowserTest, DISABLED_LoadOptionsByURL) {
24 NavigateToSettings(); 25 NavigateToSettings();
25 VerifyTitle(); 26 VerifyTitle();
26 VerifyNavbar(); 27 VerifyNavbar();
27 } 28 }
28 29
29 } // namespace 30 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/browser_options_handler.cc ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698