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. 4 5#include "chrome/browser/chromeos/login/supervised/supervised_user_creation_controller.h" 6 7namespace chromeos { 8 9// static 10const int SupervisedUserCreationController::kDummyAvatarIndex = -111; 11 12SupervisedUserCreationController::StatusConsumer::~StatusConsumer() {} 13 14// static 15SupervisedUserCreationController* 16 SupervisedUserCreationController::current_controller_ = NULL; 17 18SupervisedUserCreationController::SupervisedUserCreationController( 19 SupervisedUserCreationController::StatusConsumer* consumer) 20 : consumer_(consumer) { 21 DCHECK(!current_controller_) << "More than one controller exist."; 22 current_controller_ = this; 23} 24 25SupervisedUserCreationController::~SupervisedUserCreationController() { 26 current_controller_ = NULL; 27} 28 29} // namespace chromeos 30 31