| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 #include "net/http/http_stream_factory.h" | 173 #include "net/http/http_stream_factory.h" |
| 174 #include "net/http/transport_security_state.h" | 174 #include "net/http/transport_security_state.h" |
| 175 #include "net/test/embedded_test_server/embedded_test_server.h" | 175 #include "net/test/embedded_test_server/embedded_test_server.h" |
| 176 #include "net/test/url_request/url_request_failed_job.h" | 176 #include "net/test/url_request/url_request_failed_job.h" |
| 177 #include "net/test/url_request/url_request_mock_http_job.h" | 177 #include "net/test/url_request/url_request_mock_http_job.h" |
| 178 #include "net/url_request/url_request.h" | 178 #include "net/url_request/url_request.h" |
| 179 #include "net/url_request/url_request_filter.h" | 179 #include "net/url_request/url_request_filter.h" |
| 180 #include "net/url_request/url_request_interceptor.h" | 180 #include "net/url_request/url_request_interceptor.h" |
| 181 #include "testing/gmock/include/gmock/gmock.h" | 181 #include "testing/gmock/include/gmock/gmock.h" |
| 182 #include "testing/gtest/include/gtest/gtest.h" | 182 #include "testing/gtest/include/gtest/gtest.h" |
| 183 #include "third_party/WebKit/public/web/WebInputEvent.h" | 183 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
| 184 #include "ui/base/l10n/l10n_util.h" | 184 #include "ui/base/l10n/l10n_util.h" |
| 185 #include "ui/base/page_transition_types.h" | 185 #include "ui/base/page_transition_types.h" |
| 186 #include "ui/base/resource/resource_bundle.h" | 186 #include "ui/base/resource/resource_bundle.h" |
| 187 #include "ui/display/manager/display_manager.h" | 187 #include "ui/display/manager/display_manager.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/common/accelerators/accelerator_controller.h" | 192 #include "ash/common/accelerators/accelerator_controller.h" |
| 193 #include "ash/common/accelerators/accelerator_table.h" | 193 #include "ash/common/accelerators/accelerator_table.h" |
| (...skipping 4033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4227 | 4227 |
| 4228 SetEmptyPolicy(); | 4228 SetEmptyPolicy(); |
| 4229 // Policy not set. | 4229 // Policy not set. |
| 4230 CheckSystemTimezoneAutomaticDetectionPolicyUnset(); | 4230 CheckSystemTimezoneAutomaticDetectionPolicyUnset(); |
| 4231 EXPECT_TRUE(CheckResolveTimezoneByGeolocation(true, false)); | 4231 EXPECT_TRUE(CheckResolveTimezoneByGeolocation(true, false)); |
| 4232 EXPECT_TRUE(manager->TimeZoneResolverShouldBeRunningForTests()); | 4232 EXPECT_TRUE(manager->TimeZoneResolverShouldBeRunningForTests()); |
| 4233 } | 4233 } |
| 4234 #endif // defined(OS_CHROMEOS) | 4234 #endif // defined(OS_CHROMEOS) |
| 4235 | 4235 |
| 4236 } // namespace policy | 4236 } // namespace policy |
| OLD | NEW |