summaryrefslogtreecommitdiffstats
path: root/chrome/test/webdriver/webdriver_automation.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/webdriver/webdriver_automation.h')
-rw-r--r--chrome/test/webdriver/webdriver_automation.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/test/webdriver/webdriver_automation.h b/chrome/test/webdriver/webdriver_automation.h
index 312ef14..13d4775 100644
--- a/chrome/test/webdriver/webdriver_automation.h
+++ b/chrome/test/webdriver/webdriver_automation.h
@@ -119,6 +119,12 @@ class Automation {
void CaptureEntirePageAsPNG(
const WebViewId& view_id, const FilePath& path, Error** error);
+#if !defined(NO_TCMALLOC) && (defined(OS_LINUX) || defined(OS_CHROMEOS))
+ // Dumps a heap profile of the process of the tab.
+ void HeapProfilerDump(
+ const WebViewId& view_id, const std::string& reason, Error** error);
+#endif // !defined(NO_TCMALLOC) && (defined(OS_LINUX) || defined(OS_CHROMEOS))
+
void NavigateToURL(
const WebViewId& view_id, const std::string& url, Error** error);
void NavigateToURLAsync(