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/supervised/supervised_user_creation_controller.h"
10 const int SupervisedUserCreationController::kDummyAvatarIndex
= -111;
12 SupervisedUserCreationController::StatusConsumer::~StatusConsumer() {}
15 SupervisedUserCreationController
*
16 SupervisedUserCreationController::current_controller_
= NULL
;
18 SupervisedUserCreationController::SupervisedUserCreationController(
19 SupervisedUserCreationController::StatusConsumer
* consumer
)
20 : consumer_(consumer
) {
21 DCHECK(!current_controller_
) << "More than one controller exist.";
22 current_controller_
= this;
25 SupervisedUserCreationController::~SupervisedUserCreationController() {
26 current_controller_
= NULL
;
29 } // namespace chromeos