OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 <stddef.h> | 5 #include <stddef.h> |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 | 7 |
8 #include <algorithm> | 8 #include <algorithm> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
11 #include <utility> | 11 #include <utility> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "ash/accelerators/accelerator_controller_delegate_aura.h" | 14 #include "ash/accelerators/accelerator_controller_delegate_aura.h" |
15 #include "base/bind.h" | 15 #include "base/bind.h" |
16 #include "base/bind_helpers.h" | 16 #include "base/bind_helpers.h" |
17 #include "base/callback.h" | 17 #include "base/callback.h" |
18 #include "base/callback_helpers.h" | 18 #include "base/callback_helpers.h" |
19 #include "base/command_line.h" | 19 #include "base/command_line.h" |
20 #include "base/files/file_enumerator.h" | 20 #include "base/files/file_enumerator.h" |
21 #include "base/files/file_path.h" | 21 #include "base/files/file_path.h" |
22 #include "base/files/file_util.h" | 22 #include "base/files/file_util.h" |
23 #include "base/files/scoped_temp_dir.h" | 23 #include "base/files/scoped_temp_dir.h" |
24 #include "base/macros.h" | 24 #include "base/macros.h" |
25 #include "base/memory/ptr_util.h" | 25 #include "base/memory/ptr_util.h" |
26 #include "base/memory/ref_counted.h" | 26 #include "base/memory/ref_counted.h" |
| 27 #include "base/message_loop/message_loop.h" |
27 #include "base/path_service.h" | 28 #include "base/path_service.h" |
28 #include "base/run_loop.h" | 29 #include "base/run_loop.h" |
29 #include "base/strings/string16.h" | 30 #include "base/strings/string16.h" |
30 #include "base/strings/string_number_conversions.h" | 31 #include "base/strings/string_number_conversions.h" |
31 #include "base/strings/string_util.h" | 32 #include "base/strings/string_util.h" |
32 #include "base/strings/stringprintf.h" | 33 #include "base/strings/stringprintf.h" |
33 #include "base/strings/utf_string_conversions.h" | 34 #include "base/strings/utf_string_conversions.h" |
34 #include "base/test/scoped_feature_list.h" | 35 #include "base/test/scoped_feature_list.h" |
35 #include "base/test/test_file_util.h" | 36 #include "base/test/test_file_util.h" |
36 #include "base/threading/sequenced_worker_pool.h" | 37 #include "base/threading/sequenced_worker_pool.h" |
(...skipping 4457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4494 | 4495 |
4495 SetEmptyPolicy(); | 4496 SetEmptyPolicy(); |
4496 // Policy not set. | 4497 // Policy not set. |
4497 CheckSystemTimezoneAutomaticDetectionPolicyUnset(); | 4498 CheckSystemTimezoneAutomaticDetectionPolicyUnset(); |
4498 EXPECT_TRUE(CheckResolveTimezoneByGeolocation(true, false)); | 4499 EXPECT_TRUE(CheckResolveTimezoneByGeolocation(true, false)); |
4499 EXPECT_TRUE(manager->TimeZoneResolverShouldBeRunningForTests()); | 4500 EXPECT_TRUE(manager->TimeZoneResolverShouldBeRunningForTests()); |
4500 } | 4501 } |
4501 #endif // defined(OS_CHROMEOS) | 4502 #endif // defined(OS_CHROMEOS) |
4502 | 4503 |
4503 } // namespace policy | 4504 } // namespace policy |
OLD | NEW |