| 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/window_commands.h" | 5 #include "chrome/test/chromedriver/window_commands.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include <list> | 9 #include <list> |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "base/callback.h" | 12 #include "base/callback.h" |
| 11 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
| 12 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
| 13 #include "base/threading/platform_thread.h" | 15 #include "base/threading/platform_thread.h" |
| 14 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 15 #include "base/values.h" | 17 #include "base/values.h" |
| 16 #include "chrome/test/chromedriver/basic_types.h" | 18 #include "chrome/test/chromedriver/basic_types.h" |
| (...skipping 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1059 return status; | 1061 return status; |
| 1060 } | 1062 } |
| 1061 | 1063 |
| 1062 Status ExecuteTakeHeapSnapshot( | 1064 Status ExecuteTakeHeapSnapshot( |
| 1063 Session* session, | 1065 Session* session, |
| 1064 WebView* web_view, | 1066 WebView* web_view, |
| 1065 const base::DictionaryValue& params, | 1067 const base::DictionaryValue& params, |
| 1066 scoped_ptr<base::Value>* value) { | 1068 scoped_ptr<base::Value>* value) { |
| 1067 return web_view->TakeHeapSnapshot(value); | 1069 return web_view->TakeHeapSnapshot(value); |
| 1068 } | 1070 } |
| OLD | NEW |