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

Unified Diff: chrome/browser/ui/webui/options/chromeos/guest_mode_options_ui_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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options/chromeos/guest_mode_options_ui_browsertest.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/guest_mode_options_ui_browsertest.cc b/chrome/browser/ui/webui/options/chromeos/guest_mode_options_ui_browsertest.cc
deleted file mode 100644
index 3d7a39ccd1c8a82928c95ce9e14476b00718fbad..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/webui/options/chromeos/guest_mode_options_ui_browsertest.cc
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "base/command_line.h"
-#include "chrome/browser/ui/webui/options/options_ui_browsertest.h"
-#include "chrome/common/chrome_switches.h"
-#include "chrome/test/base/testing_profile.h"
-#include "chromeos/chromeos_switches.h"
-#include "components/signin/core/account_id/account_id.h"
-#include "components/user_manager/user_names.h"
-
-namespace {
-
-// Same as OptionsUIBrowserTest but launches with Guest mode command line
-// switches.
-class GuestModeOptionsBrowserTest : public options::OptionsUIBrowserTest {
- public:
- GuestModeOptionsBrowserTest() : OptionsUIBrowserTest() {}
-
- void SetUpCommandLine(base::CommandLine* command_line) override {
- command_line->AppendSwitch(chromeos::switches::kGuestSession);
- command_line->AppendSwitchASCII(
- chromeos::switches::kLoginUser,
- user_manager::GuestAccountId().GetUserEmail());
- command_line->AppendSwitchASCII(chromeos::switches::kLoginProfile,
- TestingProfile::kTestUserProfileDir);
- command_line->AppendSwitch(switches::kIncognito);
- }
-};
-
-IN_PROC_BROWSER_TEST_F(GuestModeOptionsBrowserTest, LoadOptionsByURL) {
- NavigateToSettings();
- VerifyTitle();
- VerifyNavbar();
-}
-
-} // namespace

Powered by Google App Engine
This is Rietveld 408576698