OLD | NEW |
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/chromeos/login/user_manager.h" | 6 #include "chrome/browser/chromeos/login/users/user_manager.h" |
7 #include "chrome/browser/ui/webui/options/options_ui_browsertest.h" | 7 #include "chrome/browser/ui/webui/options/options_ui_browsertest.h" |
8 #include "chrome/common/chrome_switches.h" | 8 #include "chrome/common/chrome_switches.h" |
9 #include "chrome/test/base/testing_profile.h" | 9 #include "chrome/test/base/testing_profile.h" |
10 #include "chromeos/chromeos_switches.h" | 10 #include "chromeos/chromeos_switches.h" |
11 | 11 |
12 namespace { | 12 namespace { |
13 | 13 |
14 // Same as OptionsUIBrowserTest but launches with Guest mode command line | 14 // Same as OptionsUIBrowserTest but launches with Guest mode command line |
15 // switches. | 15 // switches. |
16 class GuestModeOptionsBrowserTest : public options::OptionsUIBrowserTest { | 16 class GuestModeOptionsBrowserTest : public options::OptionsUIBrowserTest { |
(...skipping 10 matching lines...) Expand all Loading... |
27 } | 27 } |
28 }; | 28 }; |
29 | 29 |
30 IN_PROC_BROWSER_TEST_F(GuestModeOptionsBrowserTest, LoadOptionsByURL) { | 30 IN_PROC_BROWSER_TEST_F(GuestModeOptionsBrowserTest, LoadOptionsByURL) { |
31 NavigateToSettings(); | 31 NavigateToSettings(); |
32 VerifyTitle(); | 32 VerifyTitle(); |
33 VerifyNavbar(); | 33 VerifyNavbar(); |
34 } | 34 } |
35 | 35 |
36 } // namespace | 36 } // namespace |
OLD | NEW |