| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 <map> | 5 #include <map> |
| 6 #include <set> | 6 #include <set> |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 79 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 80 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" | 80 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" |
| 81 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" | 81 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" |
| 82 #include "chrome/common/chrome_paths.h" | 82 #include "chrome/common/chrome_paths.h" |
| 83 #include "chrome/common/extensions/extension_constants.h" | 83 #include "chrome/common/extensions/extension_constants.h" |
| 84 #include "chrome/grit/chromium_strings.h" | 84 #include "chrome/grit/chromium_strings.h" |
| 85 #include "chrome/grit/generated_resources.h" | 85 #include "chrome/grit/generated_resources.h" |
| 86 #include "chromeos/chromeos_paths.h" | 86 #include "chromeos/chromeos_paths.h" |
| 87 #include "chromeos/chromeos_switches.h" | 87 #include "chromeos/chromeos_switches.h" |
| 88 #include "chromeos/dbus/fake_session_manager_client.h" | 88 #include "chromeos/dbus/fake_session_manager_client.h" |
| 89 #include "chromeos/ime/extension_ime_util.h" | |
| 90 #include "chromeos/ime/input_method_descriptor.h" | |
| 91 #include "chromeos/ime/input_method_manager.h" | |
| 92 #include "chromeos/login/auth/mock_auth_status_consumer.h" | 89 #include "chromeos/login/auth/mock_auth_status_consumer.h" |
| 93 #include "chromeos/login/auth/user_context.h" | 90 #include "chromeos/login/auth/user_context.h" |
| 94 #include "components/policy/core/common/cloud/cloud_policy_constants.h" | 91 #include "components/policy/core/common/cloud/cloud_policy_constants.h" |
| 95 #include "components/policy/core/common/cloud/cloud_policy_core.h" | 92 #include "components/policy/core/common/cloud/cloud_policy_core.h" |
| 96 #include "components/policy/core/common/cloud/cloud_policy_store.h" | 93 #include "components/policy/core/common/cloud/cloud_policy_store.h" |
| 97 #include "components/policy/core/common/cloud/policy_builder.h" | 94 #include "components/policy/core/common/cloud/policy_builder.h" |
| 98 #include "components/policy/core/common/external_data_fetcher.h" | 95 #include "components/policy/core/common/external_data_fetcher.h" |
| 99 #include "components/policy/core/common/policy_map.h" | 96 #include "components/policy/core/common/policy_map.h" |
| 100 #include "components/policy/core/common/policy_namespace.h" | 97 #include "components/policy/core/common/policy_namespace.h" |
| 101 #include "components/policy/core/common/policy_service.h" | 98 #include "components/policy/core/common/policy_service.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 126 #include "net/test/embedded_test_server/http_request.h" | 123 #include "net/test/embedded_test_server/http_request.h" |
| 127 #include "net/test/embedded_test_server/http_response.h" | 124 #include "net/test/embedded_test_server/http_response.h" |
| 128 #include "net/url_request/test_url_fetcher_factory.h" | 125 #include "net/url_request/test_url_fetcher_factory.h" |
| 129 #include "net/url_request/url_fetcher_delegate.h" | 126 #include "net/url_request/url_fetcher_delegate.h" |
| 130 #include "net/url_request/url_request_status.h" | 127 #include "net/url_request/url_request_status.h" |
| 131 #include "policy/policy_constants.h" | 128 #include "policy/policy_constants.h" |
| 132 #include "testing/gmock/include/gmock/gmock.h" | 129 #include "testing/gmock/include/gmock/gmock.h" |
| 133 #include "third_party/icu/source/common/unicode/locid.h" | 130 #include "third_party/icu/source/common/unicode/locid.h" |
| 134 #include "ui/base/l10n/l10n_util.h" | 131 #include "ui/base/l10n/l10n_util.h" |
| 135 #include "ui/base/window_open_disposition.h" | 132 #include "ui/base/window_open_disposition.h" |
| 133 #include "ui/chromeos/ime/extension_ime_util.h" |
| 134 #include "ui/chromeos/ime/input_method_descriptor.h" |
| 135 #include "ui/chromeos/ime/input_method_manager.h" |
| 136 #include "ui/gfx/image/image_skia.h" | 136 #include "ui/gfx/image/image_skia.h" |
| 137 #include "ui/views/widget/widget.h" | 137 #include "ui/views/widget/widget.h" |
| 138 #include "url/gurl.h" | 138 #include "url/gurl.h" |
| 139 | 139 |
| 140 namespace em = enterprise_management; | 140 namespace em = enterprise_management; |
| 141 | 141 |
| 142 using chromeos::LoginScreenContext; | 142 using chromeos::LoginScreenContext; |
| 143 using testing::InvokeWithoutArgs; | 143 using testing::InvokeWithoutArgs; |
| 144 using testing::Return; | 144 using testing::Return; |
| 145 using testing::_; | 145 using testing::_; |
| (...skipping 1939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2085 ASSERT_TRUE(content::ExecuteScript(contents_, | 2085 ASSERT_TRUE(content::ExecuteScript(contents_, |
| 2086 "$('tos-accept-button').click();")); | 2086 "$('tos-accept-button').click();")); |
| 2087 | 2087 |
| 2088 WaitForSessionStart(); | 2088 WaitForSessionStart(); |
| 2089 } | 2089 } |
| 2090 | 2090 |
| 2091 INSTANTIATE_TEST_CASE_P(TermsOfServiceDownloadTestInstance, | 2091 INSTANTIATE_TEST_CASE_P(TermsOfServiceDownloadTestInstance, |
| 2092 TermsOfServiceDownloadTest, testing::Bool()); | 2092 TermsOfServiceDownloadTest, testing::Bool()); |
| 2093 | 2093 |
| 2094 } // namespace policy | 2094 } // namespace policy |
| OLD | NEW |