| 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/test/oobe_screen_waiter.h" | 5 #include "chrome/browser/chromeos/login/test/oobe_screen_waiter.h" |
| 6 | 6 |
| 7 #include "chrome/browser/chromeos/login/login_display_host_impl.h" | 7 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" |
| 8 #include "content/public/test/test_utils.h" | 8 #include "content/public/test/test_utils.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| 11 namespace chromeos { | 11 namespace chromeos { |
| 12 | 12 |
| 13 OobeScreenWaiter::OobeScreenWaiter(OobeDisplay::Screen expected_screen) | 13 OobeScreenWaiter::OobeScreenWaiter(OobeDisplay::Screen expected_screen) |
| 14 : waiting_for_screen_(false), | 14 : waiting_for_screen_(false), |
| 15 expected_screen_(expected_screen) { | 15 expected_screen_(expected_screen) { |
| 16 } | 16 } |
| 17 | 17 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 } | 50 } |
| 51 | 51 |
| 52 OobeUI* OobeScreenWaiter::GetOobeUI() { | 52 OobeUI* OobeScreenWaiter::GetOobeUI() { |
| 53 OobeUI* oobe_ui = static_cast<chromeos::LoginDisplayHostImpl*>( | 53 OobeUI* oobe_ui = static_cast<chromeos::LoginDisplayHostImpl*>( |
| 54 chromeos::LoginDisplayHostImpl::default_host())->GetOobeUI(); | 54 chromeos::LoginDisplayHostImpl::default_host())->GetOobeUI(); |
| 55 CHECK(oobe_ui); | 55 CHECK(oobe_ui); |
| 56 return oobe_ui; | 56 return oobe_ui; |
| 57 } | 57 } |
| 58 | 58 |
| 59 } // namespace chromeos | 59 } // namespace chromeos |
| OLD | NEW |