| Index: chrome/test/chromedriver/logging.h
|
| diff --git a/chrome/test/chromedriver/logging.h b/chrome/test/chromedriver/logging.h
|
| index 505ede8357a1709b7f7498b4f107540db9a0c4f2..eb2cde881ca6ac460cbb1232792848ea086b1f41 100644
|
| --- a/chrome/test/chromedriver/logging.h
|
| +++ b/chrome/test/chromedriver/logging.h
|
| @@ -39,6 +39,10 @@ class WebDriverLog : public Log {
|
| // creates and owns a new empty ListValue for further accumulation.
|
| scoped_ptr<base::ListValue> GetAndClearEntries();
|
|
|
| + // Finds the first error message in the log and returns it. If none exist,
|
| + // returns an empty string. Does not clear entries.
|
| + std::string GetFirstErrorMessage() const;
|
| +
|
| // Translates a Log entry level into a WebDriver level and stores the entry.
|
| virtual void AddEntryTimestamped(const base::Time& timestamp,
|
| Level level,
|
|
|