| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "chrome/browser/chromeos/login/login_manager_test.h" | 5 #include "chrome/browser/chromeos/login/login_manager_test.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| 11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/memory/ptr_util.h" |
| 13 #include "base/path_service.h" | 14 #include "base/path_service.h" |
| 14 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
| 15 #include "chrome/browser/browser_process.h" | 16 #include "chrome/browser/browser_process.h" |
| 16 #include "chrome/browser/chrome_notification_types.h" | 17 #include "chrome/browser/chrome_notification_types.h" |
| 17 #include "chrome/browser/chromeos/login/existing_user_controller.h" | 18 #include "chrome/browser/chromeos/login/existing_user_controller.h" |
| 18 #include "chrome/browser/chromeos/login/session/user_session_manager.h" | 19 #include "chrome/browser/chromeos/login/session/user_session_manager.h" |
| 19 #include "chrome/browser/chromeos/login/session/user_session_manager_test_api.h" | 20 #include "chrome/browser/chromeos/login/session/user_session_manager_test_api.h" |
| 20 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" | 21 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" |
| 21 #include "chrome/browser/chromeos/login/ui/webui_login_view.h" | 22 #include "chrome/browser/chromeos/login/ui/webui_login_view.h" |
| 22 #include "chrome/common/chrome_paths.h" | 23 #include "chrome/common/chrome_paths.h" |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 EXPECT_TRUE(host != NULL); | 223 EXPECT_TRUE(host != NULL); |
| 223 | 224 |
| 224 content::WebContents* web_contents = | 225 content::WebContents* web_contents = |
| 225 host->GetWebUILoginView()->GetWebContents(); | 226 host->GetWebUILoginView()->GetWebContents(); |
| 226 EXPECT_TRUE(web_contents != NULL); | 227 EXPECT_TRUE(web_contents != NULL); |
| 227 set_web_contents(web_contents); | 228 set_web_contents(web_contents); |
| 228 js_checker_.set_web_contents(web_contents); | 229 js_checker_.set_web_contents(web_contents); |
| 229 } | 230 } |
| 230 | 231 |
| 231 } // namespace chromeos | 232 } // namespace chromeos |
| OLD | NEW |