| 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 <algorithm> | 5 #include <algorithm> |
| 6 #include <string> | 6 #include <string> |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
| 13 #include "base/file_util.h" | |
| 14 #include "base/files/file_enumerator.h" | 13 #include "base/files/file_enumerator.h" |
| 15 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
| 15 #include "base/files/file_util.h" |
| 16 #include "base/files/scoped_temp_dir.h" | 16 #include "base/files/scoped_temp_dir.h" |
| 17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
| 18 #include "base/path_service.h" | 18 #include "base/path_service.h" |
| 19 #include "base/prefs/pref_service.h" | 19 #include "base/prefs/pref_service.h" |
| 20 #include "base/run_loop.h" | 20 #include "base/run_loop.h" |
| 21 #include "base/strings/string16.h" | 21 #include "base/strings/string16.h" |
| 22 #include "base/strings/string_util.h" | 22 #include "base/strings/string_util.h" |
| 23 #include "base/strings/stringprintf.h" | 23 #include "base/strings/stringprintf.h" |
| 24 #include "base/strings/utf_string_conversions.h" | 24 #include "base/strings/utf_string_conversions.h" |
| 25 #include "base/test/test_file_util.h" | 25 #include "base/test/test_file_util.h" |
| (...skipping 3184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3210 EXPECT_TRUE(content::ExecuteScriptAndExtractBool( | 3210 EXPECT_TRUE(content::ExecuteScriptAndExtractBool( |
| 3211 browser2->tab_strip_model()->GetActiveWebContents(), | 3211 browser2->tab_strip_model()->GetActiveWebContents(), |
| 3212 "domAutomationController.send(window.showModalDialog !== undefined);", | 3212 "domAutomationController.send(window.showModalDialog !== undefined);", |
| 3213 &result)); | 3213 &result)); |
| 3214 EXPECT_TRUE(result); | 3214 EXPECT_TRUE(result); |
| 3215 } | 3215 } |
| 3216 | 3216 |
| 3217 #endif // !defined(CHROME_OS) | 3217 #endif // !defined(CHROME_OS) |
| 3218 | 3218 |
| 3219 } // namespace policy | 3219 } // namespace policy |
| OLD | NEW |