Update broken references to image assets
[chromium-blink-merge.git] / chrome / browser / chromeos / login / screens / mock_device_disabled_screen_actor.cc
blobf852b948fc9abc1e31bb59986df922bde93e0702
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/mock_device_disabled_screen_actor.h"
7 using ::testing::AtLeast;
8 using ::testing::AtMost;
9 using ::testing::NotNull;
11 namespace chromeos {
13 MockDeviceDisabledScreenActor::MockDeviceDisabledScreenActor()
14 : delegate_(nullptr) {
15 EXPECT_CALL(*this, MockSetDelegate(NotNull())).Times(AtLeast(1));
16 EXPECT_CALL(*this, MockSetDelegate(nullptr)).Times(AtMost(1));
19 MockDeviceDisabledScreenActor::~MockDeviceDisabledScreenActor() {
20 if (delegate_)
21 delegate_->OnActorDestroyed(this);
24 void MockDeviceDisabledScreenActor::SetDelegate(Delegate* delegate) {
25 delegate_ = delegate;
26 MockSetDelegate(delegate);
29 } // namespace chromeos