1 // Copyright 2015 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 "chromecast/net/fake_connectivity_checker.h"
9 FakeConnectivityChecker::FakeConnectivityChecker()
10 : ConnectivityChecker(),
14 FakeConnectivityChecker::~FakeConnectivityChecker() {}
16 bool FakeConnectivityChecker::Connected() const {
20 void FakeConnectivityChecker::Check() {
23 void FakeConnectivityChecker::SetConnectedForTest(bool connected
) {
24 if (connected_
== connected
)
27 connected_
= connected
;
31 } // namespace chromecast