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 "base/json/json_reader.h" | 7 #include "base/json/json_reader.h" |
8 #include "base/json/json_writer.h" | 8 #include "base/json/json_writer.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/string_util.h" | |
11 #include "base/stringprintf.h" | |
12 #include "base/strings/string_split.h" | 10 #include "base/strings/string_split.h" |
| 11 #include "base/strings/string_util.h" |
| 12 #include "base/strings/stringprintf.h" |
13 #include "base/values.h" | 13 #include "base/values.h" |
14 #include "chrome/test/chromedriver/chrome/log.h" | 14 #include "chrome/test/chromedriver/chrome/log.h" |
15 #include "chrome/test/chromedriver/chrome/status.h" | 15 #include "chrome/test/chromedriver/chrome/status.h" |
16 #include "chrome/test/chromedriver/command_executor.h" | 16 #include "chrome/test/chromedriver/command_executor.h" |
17 #include "chrome/test/chromedriver/command_names.h" | 17 #include "chrome/test/chromedriver/command_names.h" |
18 #include "chrome/test/chromedriver/server/http_response.h" | 18 #include "chrome/test/chromedriver/server/http_response.h" |
19 #include "chrome/test/chromedriver/util.h" | 19 #include "chrome/test/chromedriver/util.h" |
20 | 20 |
21 namespace { | 21 namespace { |
22 | 22 |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 params.SetString(name, path_parts[i]); | 404 params.SetString(name, path_parts[i]); |
405 } else if (command_path_parts[i] != path_parts[i]) { | 405 } else if (command_path_parts[i] != path_parts[i]) { |
406 return false; | 406 return false; |
407 } | 407 } |
408 } | 408 } |
409 out_params->MergeDictionary(¶ms); | 409 out_params->MergeDictionary(¶ms); |
410 return true; | 410 return true; |
411 } | 411 } |
412 | 412 |
413 } // namespace | 413 } // namespace |
OLD | NEW |