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/webdriver/commands/chrome_commands.h" | 5 #include "chrome/test/webdriver/commands/chrome_commands.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
12 #include "chrome/test/automation/value_conversion_util.h" | 12 #include "chrome/test/automation/value_conversion_util.h" |
13 #include "chrome/test/webdriver/commands/response.h" | 13 #include "chrome/test/webdriver/commands/response.h" |
14 #include "chrome/test/webdriver/webdriver_error.h" | 14 #include "chrome/test/webdriver/webdriver_error.h" |
15 #include "chrome/test/webdriver/webdriver_session.h" | 15 #include "chrome/test/webdriver/webdriver_session.h" |
16 #include "chrome/test/webdriver/webdriver_util.h" | 16 #include "chrome/test/webdriver/webdriver_util.h" |
17 | 17 |
18 using base::DictionaryValue; | 18 using base::DictionaryValue; |
19 using base::ListValue; | 19 using base::ListValue; |
20 using base::Value; | 20 using base::Value; |
21 | 21 |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 | 276 |
277 Error* error = session_->HeapProfilerDump(reason); | 277 Error* error = session_->HeapProfilerDump(reason); |
278 if (error) { | 278 if (error) { |
279 response->SetError(error); | 279 response->SetError(error); |
280 return; | 280 return; |
281 } | 281 } |
282 } | 282 } |
283 #endif // !defined(NO_TCMALLOC) && (defined(OS_LINUX) || defined(OS_CHROMEOS)) | 283 #endif // !defined(NO_TCMALLOC) && (defined(OS_LINUX) || defined(OS_CHROMEOS)) |
284 | 284 |
285 } // namespace webdriver | 285 } // namespace webdriver |
OLD | NEW |