Update broken references to image assets
[chromium-blink-merge.git] / chrome / browser / chromeos / login / screens / mock_eula_screen.cc
blob41f7508e9d244ceb9aaf49df5b28b5abd5c309bf
1 // Copyright (c) 2011 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_eula_screen.h"
7 namespace chromeos {
9 using ::testing::AtLeast;
10 using ::testing::_;
12 MockEulaScreen::MockEulaScreen(BaseScreenDelegate* base_screen_delegate,
13 Delegate* delegate,
14 EulaView* view)
15 : EulaScreen(base_screen_delegate, delegate, view) {
18 MockEulaScreen::~MockEulaScreen() {
21 MockEulaView::MockEulaView() {
22 EXPECT_CALL(*this, MockBind(_)).Times(AtLeast(1));
25 MockEulaView::~MockEulaView() {
26 if (model_)
27 model_->OnViewDestroyed(this);
30 void MockEulaView::Bind(EulaModel& model) {
31 model_ = &model;
32 MockBind(model);
35 void MockEulaView::Unbind() {
36 model_ = nullptr;
37 MockUnbind();
40 } // namespace chromeos