| OLD | NEW | 
|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "components/arc/test/fake_arc_bridge_service.h" | 5 #include "components/arc/test/fake_arc_bridge_service.h" | 
| 6 | 6 | 
| 7 namespace arc { | 7 namespace arc { | 
| 8 | 8 | 
| 9 FakeArcBridgeService::FakeArcBridgeService() = default; | 9 FakeArcBridgeService::FakeArcBridgeService() = default; | 
| 10 | 10 | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
| 27 void FakeArcBridgeService::SetReady() { | 27 void FakeArcBridgeService::SetReady() { | 
| 28   if (state() != State::READY) | 28   if (state() != State::READY) | 
| 29     SetState(State::READY); | 29     SetState(State::READY); | 
| 30 } | 30 } | 
| 31 | 31 | 
| 32 void FakeArcBridgeService::SetStopped() { | 32 void FakeArcBridgeService::SetStopped() { | 
| 33   if (state() != State::STOPPED) | 33   if (state() != State::STOPPED) | 
| 34     SetState(State::STOPPED); | 34     SetState(State::STOPPED); | 
| 35 } | 35 } | 
| 36 | 36 | 
| 37 bool FakeArcBridgeService::HasObserver(const Observer* observer) { | 37 bool FakeArcBridgeService::HasObserver(const ArcSessionObserver* observer) { | 
| 38   return observer_list().HasObserver(observer); | 38   return observer_list().HasObserver(observer); | 
| 39 } | 39 } | 
| 40 | 40 | 
| 41 }  // namespace arc | 41 }  // namespace arc | 
| OLD | NEW | 
|---|