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/enrollment/enterprise_enrollment_helper.h"
7 #include "base/logging.h"
8 #include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper_impl.h"
12 EnterpriseEnrollmentHelper::~EnterpriseEnrollmentHelper() {
16 scoped_ptr
<EnterpriseEnrollmentHelper
> EnterpriseEnrollmentHelper::Create(
17 EnrollmentStatusConsumer
* status_consumer
,
18 const policy::EnrollmentConfig
& enrollment_config
,
19 const std::string
& enrolling_user_domain
) {
20 return make_scoped_ptr(new EnterpriseEnrollmentHelperImpl(
21 status_consumer
, enrollment_config
, enrolling_user_domain
));
24 EnterpriseEnrollmentHelper::EnterpriseEnrollmentHelper(
25 EnrollmentStatusConsumer
* status_consumer
)
26 : status_consumer_(status_consumer
) {
27 DCHECK(status_consumer_
);
30 } // namespace chromeos