Update broken references to image assets
[chromium-blink-merge.git] / chrome / browser / chromeos / login / screens / mock_wrong_hwid_screen.cc
blob7a2c9385a9e65d75bc7e6df1456bf3977b115783
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_wrong_hwid_screen.h"
7 using testing::AtLeast;
8 using testing::NotNull;
10 namespace chromeos {
12 MockWrongHWIDScreen::MockWrongHWIDScreen(
13 BaseScreenDelegate* base_screen_delegate,
14 WrongHWIDScreenActor* actor)
15 : WrongHWIDScreen(base_screen_delegate, actor) {
18 MockWrongHWIDScreen::~MockWrongHWIDScreen() {
21 MockWrongHWIDScreenActor::MockWrongHWIDScreenActor() : delegate_(nullptr) {
22 EXPECT_CALL(*this, MockSetDelegate(NotNull())).Times(AtLeast(1));
25 MockWrongHWIDScreenActor::~MockWrongHWIDScreenActor() {
26 if (delegate_)
27 delegate_->OnActorDestroyed(this);
30 void MockWrongHWIDScreenActor::SetDelegate(Delegate* delegate) {
31 delegate_ = delegate;
32 MockSetDelegate(delegate);
35 } // namespace chromeos