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 <stddef.h> |
| 6 |
5 #include <map> | 7 #include <map> |
6 #include <set> | 8 #include <set> |
7 #include <string> | 9 #include <string> |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "ash/shell.h" | 12 #include "ash/shell.h" |
11 #include "ash/system/chromeos/session/logout_confirmation_controller.h" | 13 #include "ash/system/chromeos/session/logout_confirmation_controller.h" |
12 #include "ash/system/chromeos/session/logout_confirmation_dialog.h" | 14 #include "ash/system/chromeos/session/logout_confirmation_dialog.h" |
13 #include "base/basictypes.h" | |
14 #include "base/bind.h" | 15 #include "base/bind.h" |
15 #include "base/bind_helpers.h" | 16 #include "base/bind_helpers.h" |
16 #include "base/callback.h" | 17 #include "base/callback.h" |
17 #include "base/command_line.h" | 18 #include "base/command_line.h" |
18 #include "base/files/file_path.h" | 19 #include "base/files/file_path.h" |
19 #include "base/files/file_util.h" | 20 #include "base/files/file_util.h" |
20 #include "base/json/json_reader.h" | 21 #include "base/json/json_reader.h" |
21 #include "base/json/json_writer.h" | 22 #include "base/json/json_writer.h" |
22 #include "base/location.h" | 23 #include "base/location.h" |
23 #include "base/macros.h" | 24 #include "base/macros.h" |
(...skipping 2411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2435 ASSERT_TRUE(content::ExecuteScript(contents_, | 2436 ASSERT_TRUE(content::ExecuteScript(contents_, |
2436 "$('tos-accept-button').click();")); | 2437 "$('tos-accept-button').click();")); |
2437 | 2438 |
2438 WaitForSessionStart(); | 2439 WaitForSessionStart(); |
2439 } | 2440 } |
2440 | 2441 |
2441 INSTANTIATE_TEST_CASE_P(TermsOfServiceDownloadTestInstance, | 2442 INSTANTIATE_TEST_CASE_P(TermsOfServiceDownloadTestInstance, |
2442 TermsOfServiceDownloadTest, testing::Bool()); | 2443 TermsOfServiceDownloadTest, testing::Bool()); |
2443 | 2444 |
2444 } // namespace policy | 2445 } // namespace policy |
OLD | NEW |