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 "base/basictypes.h" | |
6 #include "base/bind.h" | 5 #include "base/bind.h" |
7 #include "base/json/json_writer.h" | 6 #include "base/json/json_writer.h" |
| 7 #include "base/macros.h" |
8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
9 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
11 #include "base/synchronization/waitable_event.h" | 11 #include "base/synchronization/waitable_event.h" |
12 #include "base/test/mock_log.h" | 12 #include "base/test/mock_log.h" |
13 #include "base/thread_task_runner_handle.h" | 13 #include "base/thread_task_runner_handle.h" |
| 14 #include "build/build_config.h" |
14 #include "components/policy/core/common/fake_async_policy_loader.h" | 15 #include "components/policy/core/common/fake_async_policy_loader.h" |
15 #include "policy/policy_constants.h" | 16 #include "policy/policy_constants.h" |
16 #include "remoting/host/dns_blackhole_checker.h" | 17 #include "remoting/host/dns_blackhole_checker.h" |
17 #include "remoting/host/policy_watcher.h" | 18 #include "remoting/host/policy_watcher.h" |
18 #include "testing/gmock/include/gmock/gmock.h" | 19 #include "testing/gmock/include/gmock/gmock.h" |
19 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
20 | 21 |
21 namespace remoting { | 22 namespace remoting { |
22 | 23 |
23 namespace key = ::policy::key; | 24 namespace key = ::policy::key; |
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 } | 709 } |
709 | 710 |
710 // Today, the only verification offered by this test is: | 711 // Today, the only verification offered by this test is: |
711 // - Manual verification of policy values dumped by OnPolicyUpdatedDumpPolicy | 712 // - Manual verification of policy values dumped by OnPolicyUpdatedDumpPolicy |
712 // - Automated verification that nothing crashed | 713 // - Automated verification that nothing crashed |
713 } | 714 } |
714 | 715 |
715 #endif | 716 #endif |
716 | 717 |
717 } // namespace remoting | 718 } // namespace remoting |
OLD | NEW |