| Index: chrome/browser/chromeos/login/supervised/supervised_user_creation_controller.cc
|
| diff --git a/chrome/browser/chromeos/login/supervised/supervised_user_creation_controller.cc b/chrome/browser/chromeos/login/supervised/supervised_user_creation_controller.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..757189eb607c3a8e570f72134c58e34798537ba6
|
| --- /dev/null
|
| +++ b/chrome/browser/chromeos/login/supervised/supervised_user_creation_controller.cc
|
| @@ -0,0 +1,30 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chrome/browser/chromeos/login/supervised/supervised_user_creation_controller.h"
|
| +
|
| +namespace chromeos {
|
| +
|
| +// static
|
| +const int SupervisedUserCreationController::kDummyAvatarIndex = -111;
|
| +
|
| +SupervisedUserCreationController::StatusConsumer::~StatusConsumer() {}
|
| +
|
| +// static
|
| +SupervisedUserCreationController*
|
| + SupervisedUserCreationController::current_controller_ = NULL;
|
| +
|
| +SupervisedUserCreationController::SupervisedUserCreationController(
|
| + SupervisedUserCreationController::StatusConsumer* consumer)
|
| + : consumer_(consumer) {
|
| + DCHECK(!current_controller_) << "More than one controller exist.";
|
| + current_controller_ = this;
|
| +}
|
| +
|
| +SupervisedUserCreationController::~SupervisedUserCreationController() {
|
| + current_controller_ = NULL;
|
| +}
|
| +
|
| +} // namespace chromeos
|
| +
|
|
|