OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "base/files/file_path.h" | 5 #include "base/files/file_path.h" |
6 #include "base/location.h" | 6 #include "base/location.h" |
7 #include "base/path_service.h" | 7 #include "base/path_service.h" |
8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
10 #include "base/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "chrome/browser/extensions/api/automation_internal/automation_event_rou
ter.h" | 12 #include "chrome/browser/extensions/api/automation_internal/automation_event_rou
ter.h" |
13 #include "chrome/browser/extensions/chrome_extension_function.h" | 13 #include "chrome/browser/extensions/chrome_extension_function.h" |
14 #include "chrome/browser/extensions/extension_apitest.h" | 14 #include "chrome/browser/extensions/extension_apitest.h" |
15 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 15 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
16 #include "chrome/common/chrome_paths.h" | 16 #include "chrome/common/chrome_paths.h" |
17 #include "chrome/common/chrome_switches.h" | 17 #include "chrome/common/chrome_switches.h" |
18 #include "chrome/common/extensions/api/automation_internal.h" | 18 #include "chrome/common/extensions/api/automation_internal.h" |
19 #include "chrome/common/extensions/chrome_extension_messages.h" | 19 #include "chrome/common/extensions/chrome_extension_messages.h" |
20 #include "chrome/test/base/ui_test_utils.h" | 20 #include "chrome/test/base/ui_test_utils.h" |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 } | 253 } |
254 | 254 |
255 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) { | 255 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) { |
256 StartEmbeddedTestServer(); | 256 StartEmbeddedTestServer(); |
257 ASSERT_TRUE( | 257 ASSERT_TRUE( |
258 RunExtensionSubtest("automation/tests/tabs", "document_selection.html")) | 258 RunExtensionSubtest("automation/tests/tabs", "document_selection.html")) |
259 << message_; | 259 << message_; |
260 } | 260 } |
261 | 261 |
262 } // namespace extensions | 262 } // namespace extensions |
OLD | NEW |