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