1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/chromeos/login/screens/gaia_screen.h"
7 #include "base/logging.h"
8 #include "chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h"
9 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h"
13 GaiaScreen::GaiaScreen() : legacy_handler_(NULL
), screen_handler_(NULL
) {
16 GaiaScreen::~GaiaScreen() {
19 void GaiaScreen::SetLegacyHandler(LoginDisplayWebUIHandler
* handler
) {
20 legacy_handler_
= handler
;
23 void GaiaScreen::SetScreenHandler(GaiaScreenHandler
* handler
) {
24 screen_handler_
= handler
;
27 void GaiaScreen::MaybePreloadAuthExtension() {
28 screen_handler_
->MaybePreloadAuthExtension();
31 } // namespace chromeos