| 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> |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 #include "testing/gmock/include/gmock/gmock.h" | 182 #include "testing/gmock/include/gmock/gmock.h" |
| 183 #include "testing/gtest/include/gtest/gtest.h" | 183 #include "testing/gtest/include/gtest/gtest.h" |
| 184 #include "third_party/WebKit/public/web/WebInputEvent.h" | 184 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 185 #include "ui/base/l10n/l10n_util.h" | 185 #include "ui/base/l10n/l10n_util.h" |
| 186 #include "ui/base/page_transition_types.h" | 186 #include "ui/base/page_transition_types.h" |
| 187 #include "ui/base/resource/resource_bundle.h" | 187 #include "ui/base/resource/resource_bundle.h" |
| 188 #include "url/gurl.h" | 188 #include "url/gurl.h" |
| 189 #include "url/origin.h" | 189 #include "url/origin.h" |
| 190 | 190 |
| 191 #if defined(OS_CHROMEOS) | 191 #if defined(OS_CHROMEOS) |
| 192 #include "ash/accelerators/accelerator_controller.h" | 192 #include "ash/common/accelerators/accelerator_controller.h" |
| 193 #include "ash/accelerators/accelerator_table.h" | 193 #include "ash/common/accelerators/accelerator_table.h" |
| 194 #include "ash/common/accessibility_types.h" | 194 #include "ash/common/accessibility_types.h" |
| 195 #include "ash/shell.h" | 195 #include "ash/shell.h" |
| 196 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" | 196 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
| 197 #include "chrome/browser/chromeos/accessibility/magnification_manager.h" | 197 #include "chrome/browser/chromeos/accessibility/magnification_manager.h" |
| 198 #include "chrome/browser/chromeos/arc/arc_auth_service.h" | 198 #include "chrome/browser/chromeos/arc/arc_auth_service.h" |
| 199 #include "chrome/browser/chromeos/login/test/js_checker.h" | 199 #include "chrome/browser/chromeos/login/test/js_checker.h" |
| 200 #include "chrome/browser/chromeos/system/timezone_resolver_manager.h" | 200 #include "chrome/browser/chromeos/system/timezone_resolver_manager.h" |
| 201 #include "chrome/browser/profiles/profile_manager.h" | 201 #include "chrome/browser/profiles/profile_manager.h" |
| 202 #include "chrome/browser/ui/ash/chrome_screenshot_grabber.h" | 202 #include "chrome/browser/ui/ash/chrome_screenshot_grabber.h" |
| 203 #include "chrome/browser/ui/ash/multi_user/multi_user_util.h" | 203 #include "chrome/browser/ui/ash/multi_user/multi_user_util.h" |
| (...skipping 3886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4090 | 4090 |
| 4091 SetEmptyPolicy(); | 4091 SetEmptyPolicy(); |
| 4092 // Policy not set. | 4092 // Policy not set. |
| 4093 CheckSystemTimezoneAutomaticDetectionPolicyUnset(); | 4093 CheckSystemTimezoneAutomaticDetectionPolicyUnset(); |
| 4094 EXPECT_TRUE(CheckResolveTimezoneByGeolocation(true, false)); | 4094 EXPECT_TRUE(CheckResolveTimezoneByGeolocation(true, false)); |
| 4095 EXPECT_TRUE(manager->TimeZoneResolverShouldBeRunningForTests()); | 4095 EXPECT_TRUE(manager->TimeZoneResolverShouldBeRunningForTests()); |
| 4096 } | 4096 } |
| 4097 #endif // defined(OS_CHROMEOS) | 4097 #endif // defined(OS_CHROMEOS) |
| 4098 | 4098 |
| 4099 } // namespace policy | 4099 } // namespace policy |
| OLD | NEW |