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

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

Issue 2913343002: Start removing deprecated Options UI code (Closed)
Patch Set: thestig@ review Created 3 years, 6 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
OLDNEW
(Empty)
1 // Copyright 2016 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.
4
5 #include "chrome/browser/ui/webui/options/chromeos/guest_mode_options_browsertes t.h"
6
7 #include "base/command_line.h"
8 #include "chrome/browser/ui/webui/options/options_ui_browsertest.h"
9 #include "chrome/common/chrome_switches.h"
10 #include "chrome/test/base/testing_profile.h"
11 #include "chromeos/chromeos_switches.h"
12 #include "components/signin/core/account_id/account_id.h"
13 #include "components/user_manager/user_names.h"
14
15 GuestModeOptionsUIBrowserTest::GuestModeOptionsUIBrowserTest() {}
16
17 GuestModeOptionsUIBrowserTest::~GuestModeOptionsUIBrowserTest() {}
18
19 void GuestModeOptionsUIBrowserTest::SetUpCommandLine(
20 base::CommandLine* command_line) {
21 command_line->AppendSwitch(chromeos::switches::kGuestSession);
22 command_line->AppendSwitchASCII(
23 chromeos::switches::kLoginUser,
24 user_manager::GuestAccountId().GetUserEmail());
25 command_line->AppendSwitchASCII(chromeos::switches::kLoginProfile,
26 TestingProfile::kTestUserProfileDir);
27 command_line->AppendSwitch(switches::kIncognito);
28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698