OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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. |
| 4 |
| 5 #ifndef ASH_MUS_BRIDGE_SHELL_PORT_MASH_TEST_API_H_ |
| 6 #define ASH_MUS_BRIDGE_SHELL_PORT_MASH_TEST_API_H_ |
| 7 |
| 8 #include "ash/mus/bridge/shell_port_mash.h" |
| 9 |
| 10 namespace ash { |
| 11 namespace mus { |
| 12 |
| 13 // Use to get at internal state of ShellPortMash. |
| 14 class ShellPortMashTestApi { |
| 15 public: |
| 16 ShellPortMashTestApi() {} |
| 17 ~ShellPortMashTestApi() {} |
| 18 |
| 19 AcceleratorControllerRegistrar* accelerator_controller_registrar() { |
| 20 return ShellPortMash::Get()->accelerator_controller_registrar_.get(); |
| 21 } |
| 22 |
| 23 private: |
| 24 DISALLOW_COPY_AND_ASSIGN(ShellPortMashTestApi); |
| 25 }; |
| 26 |
| 27 } // namespace mus |
| 28 } // namespace ash |
| 29 |
| 30 #endif // ASH_MUS_BRIDGE_SHELL_PORT_MASH_TEST_API_H_ |
OLD | NEW |