diff options
Diffstat (limited to 'chrome/test/webdriver/webdriver_server.cc')
| -rw-r--r-- | chrome/test/webdriver/webdriver_server.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/test/webdriver/webdriver_server.cc b/chrome/test/webdriver/webdriver_server.cc index ac7b716..6587bac 100644 --- a/chrome/test/webdriver/webdriver_server.cc +++ b/chrome/test/webdriver/webdriver_server.cc @@ -163,6 +163,10 @@ void InitCallbacks(Dispatcher* dispatcher, dispatcher->Add<ExtensionsCommand>("/session/*/chrome/extensions"); dispatcher->Add<ExtensionCommand>("/session/*/chrome/extension/*"); dispatcher->Add<ViewsCommand>("/session/*/chrome/views"); +#if !defined(NO_TCMALLOC) && (defined(OS_LINUX) || defined(OS_CHROMEOS)) + dispatcher->Add<HeapProfilerDumpCommand>( + "/session/*/chrome/heapprofilerdump"); +#endif // !defined(NO_TCMALLOC) && (defined(OS_LINUX) || defined(OS_CHROMEOS)) // HTML5 functions. dispatcher->Add<HTML5LocationCommand>("/session/*/location"); |
