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 "chrome/test/chromedriver/server/http_handler.h" | 5 #include "chrome/test/chromedriver/server/http_handler.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <memory> | 9 #include <memory> |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/json/json_reader.h" | 14 #include "base/json/json_reader.h" |
15 #include "base/json/json_writer.h" | 15 #include "base/json/json_writer.h" |
16 #include "base/logging.h" // For CHECK macros. | 16 #include "base/logging.h" // For CHECK macros. |
17 #include "base/macros.h" | 17 #include "base/macros.h" |
18 #include "base/message_loop/message_loop.h" | 18 #include "base/message_loop/message_loop.h" |
19 #include "base/strings/string_split.h" | 19 #include "base/strings/string_split.h" |
20 #include "base/strings/string_util.h" | 20 #include "base/strings/string_util.h" |
21 #include "base/strings/stringprintf.h" | 21 #include "base/strings/stringprintf.h" |
22 #include "base/strings/utf_string_conversions.h" | 22 #include "base/strings/utf_string_conversions.h" |
23 #include "base/sys_info.h" | 23 #include "base/sys_info.h" |
24 #include "base/thread_task_runner_handle.h" | 24 #include "base/threading/thread_task_runner_handle.h" |
25 #include "base/values.h" | 25 #include "base/values.h" |
26 #include "build/build_config.h" | 26 #include "build/build_config.h" |
27 #include "chrome/test/chromedriver/alert_commands.h" | 27 #include "chrome/test/chromedriver/alert_commands.h" |
28 #include "chrome/test/chromedriver/chrome/adb_impl.h" | 28 #include "chrome/test/chromedriver/chrome/adb_impl.h" |
29 #include "chrome/test/chromedriver/chrome/device_manager.h" | 29 #include "chrome/test/chromedriver/chrome/device_manager.h" |
30 #include "chrome/test/chromedriver/chrome/status.h" | 30 #include "chrome/test/chromedriver/chrome/status.h" |
31 #include "chrome/test/chromedriver/net/port_server.h" | 31 #include "chrome/test/chromedriver/net/port_server.h" |
32 #include "chrome/test/chromedriver/net/url_request_context_getter.h" | 32 #include "chrome/test/chromedriver/net/url_request_context_getter.h" |
33 #include "chrome/test/chromedriver/session.h" | 33 #include "chrome/test/chromedriver/session.h" |
34 #include "chrome/test/chromedriver/session_thread_map.h" | 34 #include "chrome/test/chromedriver/session_thread_map.h" |
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
783 params.SetString(name, decoded); | 783 params.SetString(name, decoded); |
784 } else if (command_path_parts[i] != path_parts[i]) { | 784 } else if (command_path_parts[i] != path_parts[i]) { |
785 return false; | 785 return false; |
786 } | 786 } |
787 } | 787 } |
788 out_params->MergeDictionary(¶ms); | 788 out_params->MergeDictionary(¶ms); |
789 return true; | 789 return true; |
790 } | 790 } |
791 | 791 |
792 } // namespace internal | 792 } // namespace internal |
OLD | NEW |