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

Side by Side Diff: chrome/browser/chromeos/login/test/oobe_screen_waiter.cc

Issue 286933002: [cros login] Split login related classes into subfolders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in new tests Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698