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 "chrome/test/chromedriver/commands.h" | 5 #include "chrome/test/chromedriver/commands.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <list> | 10 #include <list> |
11 #include <utility> | 11 #include <utility> |
12 | 12 |
13 #include "base/bind.h" | 13 #include "base/bind.h" |
14 #include "base/bind_helpers.h" | 14 #include "base/bind_helpers.h" |
15 #include "base/location.h" | 15 #include "base/location.h" |
16 #include "base/logging.h" | 16 #include "base/logging.h" |
17 #include "base/memory/linked_ptr.h" | 17 #include "base/memory/linked_ptr.h" |
18 #include "base/memory/ptr_util.h" | 18 #include "base/memory/ptr_util.h" |
19 #include "base/message_loop/message_loop.h" | 19 #include "base/message_loop/message_loop.h" |
20 #include "base/run_loop.h" | 20 #include "base/run_loop.h" |
21 #include "base/single_thread_task_runner.h" | 21 #include "base/single_thread_task_runner.h" |
22 #include "base/stl_util.h" | 22 #include "base/stl_util.h" |
23 #include "base/strings/stringprintf.h" | 23 #include "base/strings/stringprintf.h" |
24 #include "base/sys_info.h" | 24 #include "base/sys_info.h" |
25 #include "base/thread_task_runner_handle.h" | 25 #include "base/threading/thread_task_runner_handle.h" |
26 #include "base/values.h" | 26 #include "base/values.h" |
27 #include "chrome/test/chromedriver/capabilities.h" | 27 #include "chrome/test/chromedriver/capabilities.h" |
28 #include "chrome/test/chromedriver/chrome/browser_info.h" | 28 #include "chrome/test/chromedriver/chrome/browser_info.h" |
29 #include "chrome/test/chromedriver/chrome/chrome.h" | 29 #include "chrome/test/chromedriver/chrome/chrome.h" |
30 #include "chrome/test/chromedriver/chrome/status.h" | 30 #include "chrome/test/chromedriver/chrome/status.h" |
31 #include "chrome/test/chromedriver/logging.h" | 31 #include "chrome/test/chromedriver/logging.h" |
32 #include "chrome/test/chromedriver/session.h" | 32 #include "chrome/test/chromedriver/session.h" |
33 #include "chrome/test/chromedriver/session_thread_map.h" | 33 #include "chrome/test/chromedriver/session_thread_map.h" |
34 #include "chrome/test/chromedriver/util.h" | 34 #include "chrome/test/chromedriver/util.h" |
35 | 35 |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 } | 319 } |
320 } | 320 } |
321 | 321 |
322 namespace internal { | 322 namespace internal { |
323 | 323 |
324 void CreateSessionOnSessionThreadForTesting(const std::string& id) { | 324 void CreateSessionOnSessionThreadForTesting(const std::string& id) { |
325 SetThreadLocalSession(base::WrapUnique(new Session(id))); | 325 SetThreadLocalSession(base::WrapUnique(new Session(id))); |
326 } | 326 } |
327 | 327 |
328 } // namespace internal | 328 } // namespace internal |
OLD | NEW |