Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: chrome/test/webdriver/webdriver_logging.h

Issue 10411031: Fixing loglevel in chrome driver to accept string rather than an integer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "Changes on LogLevelFromString()." Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/webdriver/webdriver_logging.h
diff --git a/chrome/test/webdriver/webdriver_logging.h b/chrome/test/webdriver/webdriver_logging.h
index 95fe86b8de4a18e3d6f108d9680f3a647dcf1350..ea8033f854e43bf877205b5e0548e1c2a1e7df28 100644
--- a/chrome/test/webdriver/webdriver_logging.h
+++ b/chrome/test/webdriver/webdriver_logging.h
@@ -30,6 +30,9 @@ enum LogLevel {
kAllLogLevel = -1000
};
+// |name| should be a webdriver log level, such as "INFO", "SEVERE", etc.
+LogLevel LogLevelFromString(const std::string& name);
+
// Represents a type/source of a WebDriver log.
class LogType {
public:

Powered by Google App Engine
This is Rietveld 408576698