| 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 "ash/shell.h" | 5 #include "ash/shell.h" |
| 6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
| 7 #include "chrome/browser/chrome_notification_types.h" | 7 #include "chrome/browser/chrome_notification_types.h" |
| 8 #include "chrome/browser/chromeos/login/login_display_host_impl.h" | |
| 9 #include "chrome/browser/chromeos/login/login_wizard.h" | 8 #include "chrome/browser/chromeos/login/login_wizard.h" |
| 10 #include "chrome/browser/chromeos/login/user_manager.h" | 9 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" |
| 10 #include "chrome/browser/chromeos/login/users/user_manager.h" |
| 11 #include "chrome/browser/chromeos/login/wizard_controller.h" | 11 #include "chrome/browser/chromeos/login/wizard_controller.h" |
| 12 #include "chrome/browser/profiles/profile_manager.h" | 12 #include "chrome/browser/profiles/profile_manager.h" |
| 13 #include "chrome/browser/profiles/profiles_state.h" | 13 #include "chrome/browser/profiles/profiles_state.h" |
| 14 #include "chrome/browser/ui/browser.h" | 14 #include "chrome/browser/ui/browser.h" |
| 15 #include "chrome/common/chrome_constants.h" | 15 #include "chrome/common/chrome_constants.h" |
| 16 #include "chrome/common/chrome_switches.h" | 16 #include "chrome/common/chrome_switches.h" |
| 17 #include "chrome/test/base/in_process_browser_test.h" | 17 #include "chrome/test/base/in_process_browser_test.h" |
| 18 #include "chrome/test/base/interactive_test_utils.h" | 18 #include "chrome/test/base/interactive_test_utils.h" |
| 19 #include "chrome/test/base/tracing.h" | 19 #include "chrome/test/base/tracing.h" |
| 20 #include "chrome/test/base/ui_test_utils.h" | 20 #include "chrome/test/base/ui_test_utils.h" |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 | 119 |
| 120 // Verifies that the webui for login comes up successfully. | 120 // Verifies that the webui for login comes up successfully. |
| 121 IN_PROC_BROWSER_TEST_F(LoginSigninTest, WebUIVisible) { | 121 IN_PROC_BROWSER_TEST_F(LoginSigninTest, WebUIVisible) { |
| 122 base::TimeDelta no_timeout; | 122 base::TimeDelta no_timeout; |
| 123 EXPECT_TRUE(tracing::WaitForWatchEvent(no_timeout)); | 123 EXPECT_TRUE(tracing::WaitForWatchEvent(no_timeout)); |
| 124 std::string json_events; | 124 std::string json_events; |
| 125 ASSERT_TRUE(tracing::EndTracing(&json_events)); | 125 ASSERT_TRUE(tracing::EndTracing(&json_events)); |
| 126 } | 126 } |
| 127 | 127 |
| 128 } // namespace | 128 } // namespace |
| OLD | NEW |