Index: chrome/browser/automation/testing_automation_provider.h |
diff --git a/chrome/browser/automation/testing_automation_provider.h b/chrome/browser/automation/testing_automation_provider.h |
index 5c135c6aef3e0df25f6972d84a32761bc76d0404..50146e519501d10d3499d4653ca91082d3b74828 100644 |
--- a/chrome/browser/automation/testing_automation_provider.h |
+++ b/chrome/browser/automation/testing_automation_provider.h |
@@ -1419,6 +1419,14 @@ class TestingAutomationProvider : public AutomationProvider, |
void RefreshPolicies(base::DictionaryValue* args, |
IPC::Message* reply_message); |
+ // Simulates a memory bug (reference an array out of bounds) to cause Address |
+ // Sanitizer (if it was built it) to catch the bug and abort the process. |
+ // Example: |
+ // input: none |
+ // output: none |
+ void SimulateAsanMemoryBug(base::DictionaryValue* args, |
+ IPC::Message* reply_message); |
+ |
#if defined(OS_CHROMEOS) |
// Login / Logout. |
void GetLoginInfo(base::DictionaryValue* args, IPC::Message* reply_message); |
@@ -1545,6 +1553,7 @@ class TestingAutomationProvider : public AutomationProvider, |
void AddChromeosObservers(); |
void RemoveChromeosObservers(); |
+ |
#endif // defined(OS_CHROMEOS) |
void WaitForTabCountToBecome(int browser_handle, |